Please add cmlimit & cmnamespace for more specific result, also note the
default value of cmlimit is is 10 because of that you are getting only 10
limited result with this: "
http://en.wikipedia.org/w/api.php?action=query&cmtitle=Category:Golf&am…
"
cmnamespace - Only include pages in these namespaces
NOTE: Due to $wgMiserMode, using this may result in
fewer than "limit" results
returned before continuing; in extreme cases, zero
results may be returned.
Values (separate with '|'): 0, 1, 2, 3, 4, 5, 6, 7,
8, 9, 10, 11, 12, 13, 14, 15, 100, 101, 108, 109
cmlimit - The maximum number of pages to return.
No more than 500 (5000 for bots) allowed.
Default: 10
Example:
1.
http://en.wikipedia.org/w/api.php?action=query&cmtitle=Category:Golf&am…
2.
http://en.wikipedia.org/w/api.php?action=query&cmtitle=Category:Golf&am…
On Tue, Sep 28, 2010 at 9:30 AM, Hercule <hercule.wikipedia(a)gmail.com>wrote;wrote:
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&…
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
--
സ്നേഹാന്വേഷണങ്ങളോടെ,
സാദിക്ക് ഖാലിദ്