Bugs item #1751134, was opened at 2007-07-10 14:34 Message generated for change (Settings changed) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1751134...
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: interwiki Group: None
Status: Closed Resolution: Works For Me
Priority: 5 Private: No Submitted By: Byrial Ole Jensen (byrial) Assigned to: Nobody/Anonymous (nobody) Summary: Suggest to remove correct iw to section
Initial Comment: interwiki.py suggests to remove a correct iw link to a section ([[no:Andre personer i Tidshjulet-serien#Elayne Trakand]]) when no other existing pages are found. An iw to [[no:Elayne Trakand]] is also found, but that page does not exist:
$ ./interwiki.py -lang:sv Checked for running processes. 2 processes currently running, including the current process. Which page to check: Elayne Trakand Getting 1 pages from wikipedia:sv... [[Elayne Trakand]]: [[sv:Elayne Trakand]] gives new interwiki [[no:Andre personer i Tidshjulet-serien#Elayne_Trakand]] [[Elayne Trakand]]: [[sv:Elayne Trakand]] gives new interwiki [[nl:Elayne Trakand]] [[Elayne Trakand]]: [[sv:Elayne Trakand]] gives new interwiki [[en:Elayne Trakand]] [[Elayne Trakand]]: [[sv:Elayne Trakand]] gives new interwiki [[fr:Elayne Trakand]] Getting 1 pages from wikipedia:no... Getting 1 pages from wikipedia:nl... Getting 1 pages from wikipedia:en... NOTE: [[Elayne Trakand]]: [[en:Elayne Trakand]] gives duplicate interwiki on same site [[no:Elayne Trakand]] [[Elayne Trakand]]: [[en:Elayne Trakand]] gives new interwiki [[fi:Elayne Trakand]] Getting 1 pages from wikipedia:fr... Getting 1 pages from wikipedia:no... NOTE: [[no:Elayne Trakand]] does not exist Getting 1 pages from wikipedia:fi... ======Post-processing [[sv:Elayne Trakand]]====== Updating links on page [[sv:Elayne Trakand]]. Changes to be made: Lägger till: [[fi:Elayne Trakand]] Tar bort: [[no:Andre personer i Tidshjulet-serien#Elayne_Trakand]] + [[fi:Elayne Trakand]] - [[no:Andre personer i Tidshjulet-serien#Elayne Trakand]]
ERROR: Found incorrect link to no in [[sv:Elayne Trakand]] Submit? ([y]es, [n]o, [g]ive up)
----------------------------------------------------------------------
Comment By: Byrial Ole Jensen (byrial) Date: 2007-07-23 20:13
Message: Logged In: YES user_id=23252 Originator: YES
I think it should be fixed by ignoring the link in the section header. The link should certainly not be followed.
Here is another example of the same bug:
======Post-processing [[de:Fußball-Weltmeisterschaft 1938/Niederlande]]====== Updating links on page [[de:Fußball-Weltmeisterschaft 1938/Niederlande]]. Changes to be made: Entferne: [[en:1938 FIFA World Cup squads#Netherlands]] - [[en:1938 FIFA World Cup squads#Netherlands]] -
ERROR: Found incorrect link to en in [[de:Fußball-Weltmeisterschaft 1938/Niederlande]] Submit? ([y]es, [n]o, [g]ive up)
----------------------------------------------------------------------
Comment By: Andre Engels (a_engels) Date: 2007-07-10 14:41
Message: Logged In: YES user_id=843018 Originator: NO
This is caused by the section title being given not by
=== Elayne Trakand ===
but by
=== [[Elayne Trakand]] ===
The bot does not notice that it should drop the [[]] from the section title.
In this specific case, looking at the Norwegian page, it seems that the logical thing to do would be to make the section title non-linking (there is a list of "Karakterer med egne sider" ("characters with their own page") at the top, and this one is specifically not in it. However, for the general case I guess a change of the bot code might be in order - either by allowing the link or by deciding to follow the link.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1751134...
pywikipedia-bugs@lists.wikimedia.org