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&list=categorymembers
"

  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&list=categorymembers&cmnamespace=0&cmlimit=100

2.
http://en.wikipedia.org/w/api.php?action=query&cmtitle=Category:Golf&list=categorymembers&cmlimit=100




On Tue, Sep 28, 2010 at 9:30 AM, Hercule <hercule.wikipe...@gmail.com>wrote:

> 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
>



-- 
സ്‌നേഹാന്വേഷണങ്ങളോടെ,
സാദിക്ക് ഖാലിദ്
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to