Page MenuHomePhabricator

Local interwiki prefix + lang code (e.g. [[w:de:Foo]] on enwiki) should not give interlanguage link
Closed, ResolvedPublic

Description

The link [[w:de:Foo]] on enwiki used to be equivalent to [[:de:Foo]] (i.e. it was treated as an in-text interwiki link).

But, now that "w" has been correctly marked as a local interwiki for enwiki (bug 954), [[w:de:Foo]] is treated as [[de:Foo]] (i.e. it appears in the sidebar).

I think this behaviour is wrong. When you consider the use-case of cross-wiki code reuse (copy/paste, import, scary transclusion), you would expect [[w:de:Foo]] to appear consistently on all wikis as a regular interwiki link. It's confusing to have it appear in the sidebar on some wikis and not others.

It makes intuitive sense to always treat [[localiw:langcode:Foo]] as if it was [[:langcode:Foo]].


Version: unspecified
Severity: normal
URL: https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#w:.28lang.29_links
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=68802

Details

Reference
bz68085

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 3:35 AM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz68085.
TTO created this task.Jul 16 2014, 3:21 AM

Change 146708 had a related patch set uploaded by TTO:
No interlanguage links after local interwiki prefixes

https://gerrit.wikimedia.org/r/146708

  • Bug 68374 has been marked as a duplicate of this bug. ***

Change 146708 merged by jenkins-bot:
No interlanguage links after local interwiki prefixes

https://gerrit.wikimedia.org/r/146708