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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to