On Wed, Jul 10, 2013 at 6:54 AM, Nicolas Vervelle <nvervelle@gmail.com> wrote:
>
> With the new extension, Disambiguator, I was wondering how to retrieve
> the list of all disambiguation pages in a wiki.The disambiguation property is the same as any other page property, so
> Is there a way to retrieve the list of pages having the disambiguation
> property set ?
you can retrieve the list of pages with list=pageswithprop, e.g.
https://en.wikipedia.org/w/api.php?action=query&list=pageswithprop&pwppropname=disambiguation
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@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api