Nice extension :) You may use generator to enjoy this new property. For example to check whether there is a disambig link from SOME_TITLE en.wikipedia.org/w/api.php?action=query&generator=links&titles=SOME_TITLE&prop=pageprops&ppprop=disambiguation&gpllimit=500
(without this extension it was possible only with external tools such as dablinks: http://toolserver.org/~dispenser/view/Dablinks) On Wed, Jul 10, 2013 at 9:00 AM, MZMcBride <z...@mzmcbride.com> wrote: > Nicolas Vervelle wrote: > >Has the API been modified so that we can ask it if a page is a > >disambiguation page ? > > Looks like it. > > Starting point: > https://en.wikipedia.org/w/api.php > > List of available property names: > https://en.wikipedia.org/w/api.php?action=query&list=pagepropnames&ppnlimit > =100 > > Look up properties of a particular title: > https://en.wikipedia.org/w/api.php?action=query&prop=pageprops&titles=Madon > na > <pageprops disambiguation="" wikibase_item="q1564372" /> > > https://en.wikipedia.org/wiki/Special:PagesWithProp can look up pages by > property name. I'm not sure if there's an equivalent module for the Web > API yet. > > The Web API has disambiguation-related query pages as well (including > Special:DisambiguationPageLinks, which I'm only now learning exists). > > MZMcBride > > > > _______________________________________________ > Wikitech-l mailing list > Wikitech-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l