[Pywikipedia-l] [ pywikipediabot-Bugs-1891058 ] interwiki.py does not recognize all disambiguation pages.

SourceForge.net noreply at sourceforge.net
Thu May 22 18:37:27 UTC 2008


Bugs item #1891058, was opened at 2008-02-11 11:26
Message generated for change (Comment added) made by nicdumz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1891058&group_id=93107

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Purodha B Blissenbach (purodha)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py does not recognize all disambiguation pages.

Initial Comment:
There is a problem with recognition of disambiguation pages in interwiki.py

Look at these:

$
python interwiki.py -putthrottle:33 -initialredirect -confirm ...And Justice for All
Getting 1 pages from wikipedia:ksh...
NOTE: [[ksh:...And Justice for All]] is redirect to [[ksh:...And Justice for All (Watt eßß datt?)]]
[[...And Justice for All (Watt eßß datt?)]]: [[ksh:...And Justice for All (Watt eßß datt?)]] gives new interwiki [[nl:...And Justice for All]]

  (some "new interwiki" messages left out)

Getting 1 pages from wikipedia:nl...
WARNING: [[ksh:...And Justice for All (Watt eßß datt?)]] doesn't seem to be a disambiguation page, but [[nl:...And Justice for All]] is one. Follow it anyway? ([y]es, [n]o, [a]dd an alternative) y


In fact, [[ksh:...And Justice for All]] is a redirect, and not a disambiguation, but the redirect target [[ksh:...And Justice for All (Watt eßß datt?)]] is a disambiguation page. Only interwiki.py seems not to have recognized that.

Maybe, the problem is related to the -initialredirect directive here, but that is a mere guess.

----------------------------------------------------------------------

>Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2008-05-22 20:37

Message:
Logged In: YES 
user_id=1963242
Originator: NO

I added {{db}} to vls: disambig templates in r5426. Does this helps ?

----------------------------------------------------------------------

Comment By: Carsrac (carsrac)
Date: 2008-05-21 22:33

Message:
Logged In: YES 
user_id=2066902
Originator: NO

In vls wiki articles with {{db}} are disambiguation pages.

Please update the disambiguation codes for all wiki languages. It should
not be so hard.

----------------------------------------------------------------------

Comment By: Rotem Liss (rotemliss)
Date: 2008-02-11 18:49

Message:
Logged In: YES 
user_id=1327030
Originator: NO

I don't get the message, running (with r5005):

python interwiki.py -putthrottle:33 -initialredirect -confirm ...And
Justice for All -lang:ksh

I get the following output:

Checked for running processes. 1 processes currently running, including
the current process.
Getting 1 pages from wikipedia:ksh...
NOTE: [[ksh:...And Justice for All]] is redirect to [[ksh:...And Justice
for All (Watt ėßß datt?)]]
[[...And Justice for All (Watt ėßß datt?)]]: [[ksh:...And Justice for
All (Watt ėßß datt?)]] gives new interwiki [[nl:...And Justice for
All]]
[[...And Justice for All (Watt ėßß datt?)]]: [[ksh:...And Justice for
All (Watt ėßß datt?)]] gives new interwiki [[en:...And Justice for
All]]
[[...And Justice for All (Watt ėßß datt?)]]: [[ksh:...And Justice for
All (Watt ėßß datt?)]] gives new interwiki [[sv:...And Justice for
All]]
[[...And Justice for All (Watt ėßß datt?)]]: [[ksh:...And Justice for
All (Watt ėßß datt?)]] gives new interwiki [[tr:...And Justice for
All]]
Getting 1 pages from wikipedia:nl...
NOTE: [[...And Justice for All (Watt ėßß datt?)]]: [[nl:...And Justice
for All]] gives duplicate interwiki on same site [[ksh:...And Justice for
All (Watt ėßß datt?)]]
Getting 1 pages from wikipedia:ksh...
Getting 1 pages from wikipedia:en...
Getting 1 pages from wikipedia:sv...
Sleeping for 4.5 seconds, 2008-02-11 19:46:06
Getting 1 pages from wikipedia:tr...
======Post-processing [[ksh:...And Justice for All (Watt ėßß
datt?)]]======
WARNING: wikipedia: [[en:...And Justice for All]] does not link to
[[ksh:...And Justice for All (Watt ėßß datt?)]]

Checking in another script, the page is identified as a disambiguation
page. Please try again using the latest revision.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1891058&group_id=93107



More information about the Pywikipedia-l mailing list