[02:04:04] If the page doesn't exist, I would expect the article ID to be 0. The namespace doesn't have a similarly clear contract - it would be perfectly sensible to have it reflect the namespace of the current title even if the title doesn't exist. (re @jhsoby: In JavaScript using mw.config, what is the best/most correct way to check that the page you're on doesn't exist? [02:04:04] [02:04:05] wgArticleId ==...) [02:19:01] I assumed that checking the namespace was to ignore special pages (where the article id is 0 whether it exists or not) [03:10:58] Indeed it was (re @Nikki: I assumed that checking the namespace was to ignore special pages (where the article id is 0 whether it exists or not))