Hello,

I have been using Mediawiki API on a few projects.
I now need to query the API for pages, members of 2 categories.
The pages have to be members of BOTH Category:Graduation_work and Category:2013

I've tried with:
api.php?format=json&action=query&list=categorymembers&cmlimit=500&cmtitle=Category:Graduation_work&cmtitle=Category:2013

but I realized that what the request is doing is asking only for the members of 
last category, that is Category:2013.

How could I request only the pages that are member of BOTH categories?


I have been searching, but found no answer.
Help would be very much appreciated :)
cheers
a


-- 
pinknoi.so
bibliotecha.info

--..,___.--,--'-,---..-.--+--.,,-,,...

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

Reply via email to