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