Page MenuHomePhabricator

Enable the "content language variant" function on the preference to the multilingual sites such as the Commons and Meta-Wiki
Open, Needs TriagePublic

Description

Currently, the translation module of the MediaWiki set the universal Chinese translation function and offered the conversion system to the zh-HANT, zh-HANS, zh-HANT-tw, zh-HANS-cn, zh-HANS-sg, zh-HANT-mo, zh-HANS-my and zh-HANT-hk. However, when a user set the preferred language variant (e.g. zh-HANT-tw), the translation page of zh still remains unconverted version (zh page).


The default page is unconverted (不轉換, 不转换, as the zh page) and cannot redirect to the preferred local variant page a user sets on the preferences.


I must click the menu to select the local variant page manually.

Other multilingual sites have the same problems (e.g. Meta).

Update:

I think that I found the problem.

In Chinese Wikipedia, the zh-xx conversion redirect is controlled by the "content language variant" in the preference:

However, the function on the Commons, Meta and other multilingual sites are not available.

So, I want to request that the "content language variant" function should be deployed to the multilingual sites.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 30 2019, 9:25 PM
Taiwania_Justo updated the task description. (Show Details)
Taiwania_Justo updated the task description. (Show Details)
Taiwania_Justo renamed this task from Cannot redirect to the preferred zh-xx page and still remain unconverted version as default to Cannot automatically redirect to the preferred zh-xx page and still remain unconverted version as default.May 30 2019, 9:40 PM
RazeSoldier added a subscriber: RazeSoldier.

In fact, "language variants" page tab provide by UniversalLanguageSelector extension.

This looks like a feature request.

Sorry, "language variants" page tab build in MW core :) But we can consider adding a redirect feature to UniversalLanguageSelector.

Taiwania_Justo added a comment.EditedJun 15 2019, 1:12 PM

Related task: T56942, T106131, T50292 (Err, these requests have not handled for a looooong time.)

Taiwania_Justo added a comment.EditedJun 17 2019, 2:08 AM

I think that I found the problem.

In Chinese Wikipedia, the zh-xx conversion redirect is controlled by the "content language variant" in the preference:

However, the function on the Commons, Meta and other multilingual sites are not available.

So, I want to request that the "content language variant" function should be deployed to the multilingual sites.

Taiwania_Justo renamed this task from Cannot automatically redirect to the preferred zh-xx page and still remain unconverted version as default to Cannot automatically redirect to the preferred language variant and still remain unconverted version as default on the mulitlanguage sites.Jun 17 2019, 2:37 AM
Taiwania_Justo renamed this task from Cannot automatically redirect to the preferred language variant and still remain unconverted version as default on the mulitlanguage sites to Cannot automatically redirect to the preferred language variant and still remain unconverted version as default on the multilingual sites such as the Commons and Meta.
Taiwania_Justo updated the task description. (Show Details)
Restricted Application added a subscriber: Cosine02. · View Herald TranscriptJun 17 2019, 2:40 AM
Taiwania_Justo updated the task description. (Show Details)
Taiwania_Justo renamed this task from Cannot automatically redirect to the preferred language variant and still remain unconverted version as default on the multilingual sites such as the Commons and Meta to Deploy the "content language variant" function on the preference to the multilingual sites such as the Commons and Meta-Wiki.Jun 17 2019, 6:05 AM
Taiwania_Justo renamed this task from Deploy the "content language variant" function on the preference to the multilingual sites such as the Commons and Meta-Wiki to Enable the "content language variant" function on the preference to the multilingual sites such as the Commons and Meta-Wiki.Jun 17 2019, 6:14 AM