Robert Crowe wrote:
> I would guess that this is a newbie question.  When I query for a
> category with something like:
> 
> http://en.wikipedia.org/w/api.php?cmtitle=Category:Culture&action=query&list=categorymembers&cmlimit=500
> 
> is there a way for me to also get the categories that this category
> belongs to without doing a second query?
> 
> Thanks,
> 
> Robert

http://en.wikipedia.org/w/api.php?cmtitle=Category:Culture&action=query&list=categorymembers&titles=Category:Culture&prop=categories&cmlimit=500

You're welcome.

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to