Read the error message : cmtitle is required
Try 
http://en.wikipedia.org/w/api.php?action=query&cmtitle=Category:Golf&list=categorymembers

Regards

Le 28 sept. 2010 à 08:13, "Christian Koncilia" <christian.konci...@gmx.net> a 
écrit :

> Thanks to both of you for your swift reply. Unfortunately, I am still unable
> to get a list of all subpages of this category.
> 
> http://en.wikipedia.org/w/api.php?action=query&titles=Category:Golf&list=cat
> egorymembers
> 
> returns actually nothing (redirects to the API help page). Do you have any
> idea how to retrieve a list of the 25 pages in this category?
> 
> Bye
>       Christian
> 
> -----Ursprüngliche Nachricht-----
> Von: mediawiki-api-boun...@lists.wikimedia.org
> [mailto:mediawiki-api-boun...@lists.wikimedia.org] Im Auftrag von Russell
> Blau
> Gesendet: Montag, 27. September 2010 20:31
> An: mediawiki-api@lists.wikimedia.org
> Betreff: Re: [Mediawiki-api] List of all Links
> 
> "Russell Blau" <russb...@hotmail.com> wrote in message
> news:i7qnoh$kr...@dough.gmane.org...
>> 
>> You are probably looking for prop=categorymembers instead of prop=links. 
>> prop=links only gives you those links appearing in the category 
>> description text.
> 
> sorry, that should be list=categorymembers, of course.
> 
>> Russ
> 
> 
> 
> 
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
> 
> 
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

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

Reply via email to