Menu

#408 interwiki: include only interwiki doubles

closed-invalid
nobody
interwiki (307)
5
2009-01-27
2007-06-02
siebrand
No

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

Discussion

  • Purodha B Blissenbach

    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.

     
  • Merlijn S. van Deen

    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.

     
  • siebrand

    siebrand - 2009-01-27

    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.

     
  • siebrand

    siebrand - 2009-01-27
    • status: open --> closed-invalid
     

Log in to post a comment.