I'm not able to completely answer your question, but
http://en.wikipedia.org/w/api.php?action=query&prop=categoryinfo&ti…
returns
<?xml version="1.0"?>
<api>
<query>
<pages>
<page pageid="1146669" ns="14"
title="Category:Golf">
<categoryinfo size="51" pages="25" files="1"
subcats="25" />
</page>
</pages>
</query>
</api>
-- the fact that there are 25 subcategories. Now I don't know how to use the API to
get those subcategories -- so if someone can figure that out, we'd have an answer!
-Raymond
On 9/27/10 1:54 PM, Christian Koncilia wrote:
Hi there,
can anybody help me? Why does the following query only return 2 links
http://en.wikipedia.org/w/api.php?action=query&titles=Category:Golf&…
<http://en.wikipedia.org/w/api.php?action=query&titles=Category:Golf&prop=links>
although the corresponding Wikipedia page
(
http://en.wikipedia.org/wiki/Category:Golf) contains 25 links?
Thank you very much
Christian
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api