On Thu, Feb 17, 2011 at 5:46 AM, Andrew Chapman <hatma...@gmail.com> wrote: > I'm trying to work out how to get a list of all categories a page is in, > including the sizes of those categories. > > If I do this: > > http://en.wikipedia.org/w/api.php?action=query&prop=categories&cllimit=100&titles=IPad > > I get all the categories, but no info about their size. But if I do this: > > http://en.wikipedia.org/w/api.php?action=query&generator=categories&titles=IPad&prop=categoryinfo > > I get all the size info, but only the first 10 categories. > > It looks like the answer is to use the continue option (cicontinue?) but > I don't understand how to do that. Sorry if this is a dumb question - > can someone clarify. Thanks! Andrew
you put whatever is in the continue as a parameter, so: http://en.wikipedia.org/w/api.php?action=query&generator=categories&titles=IPad&prop=categoryinfo&gclcontinue=25970423|IOS%20%28Apple%29 _______________________________________________ Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api