Hi Hercule,
thanks a lot for your help. I didn't even realize that there is an error message in
the output - sorry. Actually, the link you've sent me works although it doesn't
return the expected result, i.e. the 25 subpages.
Nevertheless, now that I know that there IS an error message, I should be able to figure
that out myself ;-).
Thanks & Bye
Christian
-----Ursprüngliche Nachricht-----
Von: mediawiki-api-bounces(a)lists.wikimedia.org
[mailto:mediawiki-api-bounces@lists.wikimedia.org] Im Auftrag von Hercule
Gesendet: Dienstag, 28. September 2010 08:31
An: MediaWiki API announcements & discussion
Betreff: Re: [Mediawiki-api] List of all Links
Read the error message : cmtitle is required Try
http://en.wikipedia.org/w/api.php?action=query&cmtitle=Category:Golf&am…
Regards
Le 28 sept. 2010 à 08:13, "Christian Koncilia"
<christian.koncilia(a)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&…
st=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-bounces(a)lists.wikimedia.org
[mailto:mediawiki-api-bounces@lists.wikimedia.org] Im Auftrag von
Russell Blau
Gesendet: Montag, 27. September 2010 20:31
An: mediawiki-api(a)lists.wikimedia.org
Betreff: Re: [Mediawiki-api] List of all Links
"Russell Blau" <russblau(a)hotmail.com> wrote in message
news:i7qnoh$krd$1@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(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api