Yes, thanks,
I will use pageswithprop to retrieve all disambiguation pages. I didn't find it at first because it wasn't listed in http://www.mediawiki.org/wiki/API:Lists
Nico
On Thu, Jul 11, 2013 at 12:49 AM, Ryan Kaldari rkaldari@wikimedia.orgwrote:
On 7/10/13 2:15 PM, Brad Jorsch (Anomie) wrote:
On Wed, Jul 10, 2013 at 1:49 PM, Ryan Kaldari rkaldari@wikimedia.org wrote:
Disambiguator implements an API for retrieving all disambiguation pages: api.php?action=query&list=**querypage&qppage=**DisambiguationPages
... That really shouldn't be allowed by list=querypage, since we have list=pageswithprop that does the same thing.
Oops, I didn't know about that one. Looks like you can now pull all the disambiguation pages using: https://en.wikipedia.org/w/**api.php?action=query&** generator=pageswithprop&**gpwppropname=disambiguationhttps://en.wikipedia.org/w/api.php?action=query&generator=pageswithprop&gpwppropname=disambiguation
That should take care of Nico's request.
Ryan Kaldari
______________________________**_________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/**mailman/listinfo/wikitech-lhttps://lists.wikimedia.org/mailman/listinfo/wikitech-l