[Pywikipedia-l] [ pywikipediabot-Bugs-1729792 ] interwiki: include only interwiki doubles

SourceForge.net noreply at sourceforge.net
Tue Jan 27 08:26:33 UTC 2009


Bugs item #1729792, was opened at 2007-06-02 04:54
Message generated for change (Comment added) made by siebrand
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1729792&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: interwiki
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: siebrand (siebrand)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki: include only interwiki doubles

Initial Comment:
English language Wikipedia and another wiki (IIRC jp.wikipedia) appear to have adopted a system where they transclude a page and add interwikis from the transcluded page using includeonly tags. Interwiki happily places 'missing' interwiki links on the page that has the transcluded page, so interwiki links are displayed twice.

I am not sure if this is a bug or a feature. It may well be that the user moving the interwiki links from the page to the template has not changed the links in the pages on other wikis. In any case, it would be nice if interwiki.py recognised this and would not add double links, whereever the interwiki links that are present come from.

Relevant links/edits:
* http://en.wikipedia.org/wiki/Template:Todo
* http://en.wikipedia.org/wiki/Template:Todo/doc
* http://en.wikipedia.org/w/index.php?title=Template:Todo&diff=135206081&oldid=134895632

The following edit is probably the cause:
* http://en.wikipedia.org/w/index.php?title=Template:Todo&diff=125137653&oldid=125128143

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

>Comment By: siebrand (siebrand)
Date: 2009-01-27 09:26

Message:
This is invalid. Cannot expect to have the interwiki links transcluded and
the bot to pick this up from the source code of the transclude source.
Interwiki is broken.

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

Comment By: Merlijn S. van Deen (valhallasw)
Date: 2007-06-20 16:24

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

With query.php, it is possible to retrieve transcluded langlinks.
Determining where to place the langlinks is not easy for a bot, however.
Checking for double links should be fairly straightforward to implement.

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

Comment By: Purodha B Blissenbach (purodha)
Date: 2007-06-03 02:43

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

There are at least dozens of such pages in the English Wikipedia in the
Category: name space, all colleting people with specific language skills,
all of them to be found under the "Users by language" category.

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

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



More information about the Pywikipedia-l mailing list