Re: [Wikitech-l] Disambiguator extension deployed to all WMF wikis (action required)

2013-07-16 Thread Nicolas Vervelle
Thanks a lot, I've updated WPCleaner [1] to use the new disambiguation property, instead of looking for templates or categories. I've been able to reduce the number of calls to the API when analzying a page for links to disambiguation pages with this property. Nico [1]

Re: [Wikitech-l] Disambiguator extension deployed to all WMF wikis (action required)

2013-07-10 Thread MZMcBride
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=querylist=pagepropnamesppnlimit =100 Look

Re: [Wikitech-l] Disambiguator extension deployed to all WMF wikis (action required)

2013-07-10 Thread Eran Rosenthal
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=querygenerator=linkstitles=SOME_TITLEprop=pagepropsppprop=disambiguationgpllimit=500 (without this extension it was possible

Re: [Wikitech-l] Disambiguator extension deployed to all WMF wikis (action required)

2013-07-10 Thread Federico Leva (Nemo)
As all templates requiring it are listed in [[MediaWiki:Disambiguationspage]], why not run a global bot? It's surely easier than trying to find 800 editors. Nemo ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

Re: [Wikitech-l] Disambiguator extension deployed to all WMF wikis (action required)

2013-07-10 Thread K. Peachey
I bet the JobQueue would be loving that. On Wed, Jul 10, 2013 at 4:52 PM, Federico Leva (Nemo) nemow...@gmail.com wrote: As all templates requiring it are listed in [[MediaWiki:Disambiguationspage]], why not run a global bot? It's surely easier than trying to find 800 editors.

Re: [Wikitech-l] Disambiguator extension deployed to all WMF wikis (action required)

2013-07-10 Thread Nicolas Vervelle
Thanks Eran and MZMcBride, I'm going to update WPCleaner to take advantage of this new possibility. It should result in less API requests and so a faster loading of pages for fixing disambiguation links. Great :) Nico On Wed, Jul 10, 2013 at 8:33 AM, Eran Rosenthal eranro...@gmail.com wrote:

Re: [Wikitech-l] Disambiguator extension deployed to all WMF wikis (action required)

2013-07-10 Thread Antoine Musso
Le 10/07/13 00:10, Ryan Kaldari a écrit : The Disambiguator extension (http://www.mediawiki.org/wiki/Extension:Disambiguator) is now deployed to all WMF wikis. This will enable us to: 1. Remove disambiguation code from core, including Special:Disambiguations (bug 35981) 2. Stop requiring

Re: [Wikitech-l] Disambiguator extension deployed to all WMF wikis (action required)

2013-07-10 Thread Nicolas Vervelle
Good, Thanks to Eran answer, I know how to determine for all links in a page which one are to a disambiguation page. For WPCleaner, I also need to be able to retrieve the complete list of disambiguation pages through the API. I looked at the allpages request [1], but I didn't see a way to get

Re: [Wikitech-l] Disambiguator extension deployed to all WMF wikis (action required)

2013-07-10 Thread shi zhao
So, a disambiguation page still a article? Or not? Chinese wikipedia: http://zh.wikipedia.org/ My blog: http://shizhao.org twitter: https://twitter.com/shizhao [[zh:User:Shizhao]] 2013/7/10 Nicolas Vervelle nverve...@gmail.com: Good, Thanks to Eran answer, I know how to determine for all

Re: [Wikitech-l] Disambiguator extension deployed to all WMF wikis (action required)

2013-07-10 Thread Brad Jorsch (Anomie)
On Wed, Jul 10, 2013 at 2: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 ? https://en.wikipedia.org/wiki/Special:PagesWithProp can look up pages by property name. I'm not sure if there's an

Re: [Wikitech-l] Disambiguator extension deployed to all WMF wikis (action required)

2013-07-10 Thread Daniel Friesen
On Wed, 10 Jul 2013 10:49:27 -0700, Ryan Kaldari rkald...@wikimedia.org wrote: On 7/10/13 2:46 AM, Nicolas Vervelle wrote: Good, Thanks to Eran answer, I know how to determine for all links in a page which one are to a disambiguation page. For WPCleaner, I also need to be able to retrieve

Re: [Wikitech-l] Disambiguator extension deployed to all WMF wikis (action required)

2013-07-10 Thread Ryan Kaldari
On 7/10/13 11:02 AM, Daniel Friesen wrote: On Wed, 10 Jul 2013 10:49:27 -0700, Ryan Kaldari rkald...@wikimedia.org wrote: Disambiguator implements an API for retrieving all disambiguation pages: api.php?action=querylist=querypageqppage=DisambiguationPages Unfortunately, since the WMF wikis

Re: [Wikitech-l] Disambiguator extension deployed to all WMF wikis (action required)

2013-07-10 Thread Brad Jorsch (Anomie)
On Wed, Jul 10, 2013 at 1:49 PM, Ryan Kaldari rkald...@wikimedia.org wrote: Disambiguator implements an API for retrieving all disambiguation pages: api.php?action=querylist=querypageqppage=DisambiguationPages ... That really shouldn't be allowed by list=querypage, since we have

Re: [Wikitech-l] Disambiguator extension deployed to all WMF wikis (action required)

2013-07-10 Thread Ryan Kaldari
On 7/10/13 2:15 PM, Brad Jorsch (Anomie) wrote: On Wed, Jul 10, 2013 at 1:49 PM, Ryan Kaldari rkald...@wikimedia.org wrote: Disambiguator implements an API for retrieving all disambiguation pages: api.php?action=querylist=querypageqppage=DisambiguationPages ... That really shouldn't be allowed

Re: [Wikitech-l] Disambiguator extension deployed to all WMF wikis (action required)

2013-07-10 Thread Nicolas Vervelle
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 rkald...@wikimedia.orgwrote: On 7/10/13 2:15 PM, Brad Jorsch (Anomie)

[Wikitech-l] Disambiguator extension deployed to all WMF wikis (action required)

2013-07-09 Thread Ryan Kaldari
The Disambiguator extension (http://www.mediawiki.org/wiki/Extension:Disambiguator) is now deployed to all WMF wikis. This will enable us to: 1. Remove disambiguation code from core, including Special:Disambiguations (bug 35981) 2. Stop requiring wikis to maintain template lists at

Re: [Wikitech-l] Disambiguator extension deployed to all WMF wikis (action required)

2013-07-09 Thread Nicolas Vervelle
Great !!! Has the API been modified so that we can ask it if a page is a disambiguation page ? Nico On Wed, Jul 10, 2013 at 12:10 AM, Ryan Kaldari rkald...@wikimedia.orgwrote: The Disambiguator extension (http://www.mediawiki.org/**