I'm querying the API to get the categories and subcategories for a page, and I'd like to be able to exclude hidden categories and administration categories from the result. The queries that I currently use look like this:
Category Pages:
Non-Category Pages:
where $catname and $pagename are replaced by the page titles. Is there a way to either exclude categories that are hidden categories, or that are subcategories of the "Category:Hidden categories" category?
Thanks,
Robert
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
- - - - - - - - - - - - - - - - - - -
Prateek Jain, Ph. D.
RSM
IBM T.J. Watson Research Center
1101 Kitchawan Road, 37-244
Yorktown Heights, NY 10598
Linkedin: http://www.linkedin.com/in/prateekj