If I recall correctly it is action=query&list=categorymembers&cmtitle=category_name. See the help on <http://www.mediawiki.org/wiki/Manual:API> under the list section. Note that some lists had there arguments changed from titles -> <xy>title somewhere around the release of 1.11. I'm not sure whether that was actually before or after the release, but it may be that the parameters for 1.12 are nto the same as for 1.11
Bryan On Oct 30, 2007 3:42 PM, Timothy Hunt <[EMAIL PROTECTED]> wrote: > I should have also commented, this is not for any of the project's > wikis, but our own internal wiki - using MediaWiki 1.11.0 > > Timothy > > On Oct 30, 2007, at 9:38 AM, Timothy Hunt wrote: > > > I know that I can find what categories a page is in using api.php? > > action=query&titles=Pagename&prop=categories > > but how do I get all the pages that have are members of a particular > > category? I'm guessing the format would be something like > > api.php?action=query&titles=Category:Foo&property=SOMEPROPERTY, > > assuming it's implemented. > > > > Thanks, > > > > Timothy > > > > _______________________________________________ > > Mediawiki-api mailing list > > [email protected] > > http://lists.wikimedia.org/mailman/listinfo/mediawiki-api > > > > > _______________________________________________ > Mediawiki-api mailing list > [email protected] > http://lists.wikimedia.org/mailman/listinfo/mediawiki-api > _______________________________________________ Mediawiki-api mailing list [email protected] http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
