Page MenuHomePhabricator

Special:MyLanguage redirects to the translation original if the user language matches the content language, even if they differ from the page language
Open, In Progress, Needs TriagePublicBUG REPORT

Description

Special:MyLanguage redirects to the translation original (i.e. the page with no language suffix) if the user language is the same as the site content language, even if that particular translation original has another language. In this case, it should redirect to the /en subpage (assuming that the site content language is English) if that exists.

List of steps to reproduce (step by step, including full links if applicable):

What happens?:

We got on base page (Albanian).

What should have happened instead?:

We should be got on translated /en subpage.

Event Timeline

Tacsipacsi added a subscriber: Tacsipacsi.

Special:MyLanguage is part of MediaWiki core (rMW includes/specials/SpecialMyLanguage.php), not the Translate extension (since T68762).


By the way, are you sure Nikerabbit is happy that you subscribed him on this task? It makes the impression you want him personally to fix this bug, even though there are several other software engineers in the Language team.

Tacsipacsi renamed this task from Special:MyLanguage generate irrelevant links in some case to Special:MyLanguage redirects to the translation original if the user language matches the content language, even if they differ from the page language.Feb 9 2022, 11:39 AM
Tacsipacsi updated the task description. (Show Details)

Change 769458 had a related patch set uploaded (by Func; author: Func):

[mediawiki/core@master] SpecialMyLanguage: Take content language of the base page into account

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

Winston_Sung changed the task status from Open to In Progress.Apr 7 2022, 10:32 AM
Winston_Sung assigned this task to Func.

even though there are several other software engineers in the Language team.

(While Language team is one of the more stable ones, usually WMF teams and departments are rewamped all the time (every couple of years or so) and sometimes you just remember that a particular person has been working on this or that thing at some point. E.g. I poke Amire80 about CX issues sometimes like this. Not sure if that is what was Kaganer's motivation though, just an observation as a community member)

By the way, are you sure Nikerabbit is happy that you subscribed him on this task? It makes the impression you want him personally to fix this bug, even though there are several other software engineers in the Language team.

I thought I understood the difference between "Assigned to" and "Subscribers" quite clearly. For me, the addition of "Subscriber" is a call "look, it seems to me that this is important / interesting for you." When me is added to subscribers by other users, I understand it this way and feel gratitude. If I was added by mistake, I just unsubscribe.

Since I have direct contact with Niklas (at least in the translatewiki.net telegram chat), he can always warn me if I'm doing something wrong. Niklas has known me for 14 years, through wiki work, and I really hope that he will not be shy in expressions.

Change 769458 merged by jenkins-bot:

[mediawiki/core@master] SpecialMyLanguage: Take content language of the base page into account

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