Aryeh Gregor schreef:
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?
No, because XXnamespace parameters only accept namespaces that actually exist (according to the config, anyway). Feeding stuff through titles= obviously won't work because the namespace prefix isn't recognized, which means you have to use a generator: you need another query to produce these titles for you and feed them to prop=revisions. Unfortunately, queries like allpages only work on one (recognized) namespace at a time, so the only queries likely to work are usercontribs, backlinks, embeddedin, imageusage and categorymembers.
Roan Kattouw (Catrope)