Page MenuHomePhabricator

Selflinks via Special/MyLanguage should still be selflinks
Open, LowestPublic


If a translation page has a link to its translatable page made via Special:MyLanguage/ and the interface language matches its contentlanguage (in other words this is the same page you will happen to be after following the link) the link should be rendered not as a link but as a class="selflink" piece of text.

Event Timeline

Base raised the priority of this task from to Needs Triage.
Base updated the task description. (Show Details)
Base added a subscriber: Base.
Aklapper renamed this task from [Translate] Selflinks via Special/MyLanguage should still be selflinks to Selflinks via Special/MyLanguage should still be selflinks.Sep 29 2015, 10:18 AM
Aklapper set Security to None.
Nikerabbit added a subscriber: Nikerabbit.

This is not possible to do without breaking the parser cache for the page by language.

I do not have data to know how frequently that is already happening and what is the impact.

This is particularly a problem with page navigation templates.

EpicPupper added subscribers: Lectrician1, EpicPupper.

Reposting my comment from T301530:

The current interface language, the preferences interface language, and the page language cannot be assumed to be connected. The purpose of redirecting special pages is that the target isn't known at parse time. Additionally, if implemented, this would fragment the cache even more than Translate already does. I suggest closing this task as declined.

I disagree, you can just assume links via MyLanguage from a page that it *could* redirect to depending on interface language to be self links, that would be imperfect, but better than what it is now.