On Dec 8, 2007 2:20 PM, Ian Cabell <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]

_______________________________________________
Mediawiki-api mailing list
[email protected]
http://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to