On Fri, Oct 31, 2008 at 11:17 AM, Roan Kattouw roan.kattouw@home.nl wrote:
The API can be used to view such 'invisible' pages, yes, although it wouldn't be trivial: you'd have to know (or guess) one of the following things:
- a user who edited the page
- a non-restricted page that is linked from the page
- a non-restricted page or template that is transcluded by the page
- a non-restricted image that is used on the page
- a category that the page is in
You can't look things up using numeric namespace keys?
Also, Special:Recentchanges will probably show changes to these restricted pages (at least list=recentchanges will).
Right, of course. I wonder what happens if you call getPrefixedText() on a Title whose namespace id isn't recognized. Quite possibly a crash.
Anyway, short answer: don't do it, it almost certainly won't work.