Nicolas Vervelle schreef:
> Hi,
>
> When looking at the documentation you get when callling the API, the 
> apprefix parameter is documented as "Search for all page titles that 
> begin with this value" but I don't get any result when I try to use it.
>
> For example, the following request returns zero pages :
> http://en.wikipedia.org/w/api.php?action=query&list=allpages&apprefix=Bal&apfrom=bal
>
> How do you use apprefix ?
Leave out the apfrom parameter, or set it to Bal rather than bal.

http://en.wikipedia.org/w/api.php?action=query&list=allpages&apprefix=Bal&apfrom=Bal
 and
http://en.wikipedia.org/w/api.php?action=query&list=allpages&apprefix=Bal

both work.

Roan Kattouw (Catrope) 


_______________________________________________
Mediawiki-api mailing list
[email protected]
http://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to