On Sat, Oct 10, 2009 at 08:08:31AM -0400, Russell Blau wrote: > Karl Ostmo wrote: > > This works: > > http://commons.wikimedia.org/w/api.php?action=query&format=xml > &list=allpages&apnamespace=14&apprefix=Rept > > although I'm still curious why the missing pages are in the > > allcategories search. > > Non-existent pages ''can'' be returned by list=allcategories ''if'' there > are pages filed in a redlinked category. But that doesn't seem to be the > case here, so I am as mystified as you.
It's actually "if there were ever pages in the category"; it's the way MediaWiki's "category" table works, according to the code comments in maintenance/tables.sql: -- -- Track all existing categories. Something is a category if 1) it has an en- -- try somewhere in categorylinks, or 2) it once did. Categories might not -- have corresponding pages, so they need to be tracked separately. -- _______________________________________________ Mediawiki-api mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
