Thanks,
This function (pageswithprop) is not listed in
https://www.mediawiki.org/wiki/API:Lists
that's why I didn't find it when I was looking.
Nico
On Wed, Jul 10, 2013 at 3:19 PM, Brad Jorsch (Anomie) <bjorsch(a)wikimedia.org
wrote:
> On Wed, Jul 10, 2013 at 6:54 AM, Nicolas Vervelle <nvervelle(a)gmail.com>
wrote:
> >
> > With the new extension, Disambiguator, I was wondering how to retrieve
> > the list of all disambiguation pages in a wiki.
> > Is there a way to retrieve the list of pages having the disambiguation
> > property set ?
>
> The disambiguation property is the same as any other page property, so
> you can retrieve the list of pages with list=pageswithprop, e.g.
>
>
https://en.wikipedia.org/w/api.php?action=query&list=pageswithprop&…
>
> Also, you can check if a page has the property using prop=pageprops,
> optionally with &ppprop=disambiguation
>
>
> --
> Brad Jorsch (Anomie)
> Software Engineer
> Wikimedia Foundation
>
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api(a)lists.wikimedia.org
>
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>