Is there not an "action=query&list=allcategories"? Any plans for development?
On Dec 8, 2007 2:20 PM, Ian Cabell ian.cabell@gmail.com wrote:
Is there not an "action=query&list=allcategories"? Any plans for development?
You can get all categories for which there is a category page by using list=allpages and setting apnamespace to 14, like so:
http://en.wikipedia.org/w/api.php?action=query&list=allpages&apnamespace=14
Of course, this doesn't cover categories that people have used for which there is no category page yet. If you wanted to get access to that information, there would need to be a new query.
Stephen Bain schreef:
Of course, this doesn't cover categories that people have used for which there is no category page yet. If you wanted to get access to that information, there would need to be a new query.
I've just introduced that new query in r28352 [1].
Roan Kattouw (Catrope)
[1] http://svn.wikimedia.org/viewvc/mediawiki?view=rev&revision=28352
mediawiki-api@lists.wikimedia.org