Page MenuHomePhabricator

Some texts are not automatically converted from Simplified Chinese to Traditional Chinese on Chinese Wikivoyage
Closed, ResolvedPublic0 Estimated Story Points

Description

Some texts are not automatically converted from Simplified Chinese (zh-hans) to Traditional Chinese (zh-hant) on Chinese Wikivoyage ,see as below,

Eg. Hsinchu(https://zh.wikivoyage.org/zh-hant/%E6%96%B0%E7%AB%B9)

Desktop in Traditional Chinese, the Wikivoyage IP user is 維基導遊匿名使用者 :

2019-11-24_20-56-25.png (728×1 px, 59 KB)

Mobile in Traditional Chinese, the Community portal is 社群門戶 :

Screenshot_20191104-080656.jpg (2×1 px, 212 KB)

Please everyone can fix it, Thanks!

Event Timeline

Aklapper renamed this task from Some texts are not automatically converted to Traditional Chinese on Chinese Wikivoyage to Some texts are not automatically converted from Simplified Chinese to Traditional Chinese on Chinese Wikivoyage.Nov 24 2019, 3:26 PM
Aklapper updated the task description. (Show Details)

Going to https://zh.wikivoyage.org/zh-hant/新竹?debug=true&uselang=qqx you can see that the ID of the string 维基导游匿名用户 is anonusers.

https://zh.wikivoyage.org/zh-hant/MediaWiki:anonusers shows that the string has not been locally modified, as there is no edit history. So the string comes from default MediaWiki itself. It can be seen in https://translatewiki.net/w/i.php?title=MediaWiki:Anonusers/zh-hant&action=edit which currently says:
{{SITENAME}} 匿名{{PLURAL:$2|使用者}} $1
That's not what is displayed; it is https://translatewiki.net/w/i.php?title=MediaWiki:Anonusers/zh-hans&action=edit currently says:
{{SITENAME}}匿名{{PLURAL:$2|用户}}$1

@Aklapper Thank you provide anonusers source, I has fix it.

In Traditional Chinese, I fix the {{SITENAME}} to {{int:SITENAME}}, Display is normal.
Fix as below,
https://zh.wikivoyage.org/wiki/MediaWiki:Anonusers/zh-hant
https://zh.wikivoyage.org/wiki/MediaWiki:Anonusers/zh-hk
https://zh.wikivoyage.org/wiki/MediaWiki:Anonusers/zh-mo
https://zh.wikivoyage.org/wiki/MediaWiki:Anonusers/zh-tw

But I don't know how to fix the Community portal in Mobile menu?

@Gabrielchihonglee Your bot is long overdue

For MediaWiki:Portal-url:
According to https://gerrit.wikimedia.org/g/mediawiki/skins/MinervaNeue/+/2022b35a2f9f1039d169efadb1d74ed2da4afa3d/includes/menu/Definitions.php#294.
The link text is generated from the page title. Therefore, it is impossible to fix it on the site.

About the Community portal in Mobile, I has change word to 社群入口 from 社区主页, the 社群入口 is same word for Simplified Chinese and Traditional Chinese, and from the 社群入口 using REDIRECT go to Wikivoyage:社区主页.

Modified as below:
MediaWiki:Portal-url
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url

Traditional Chinese
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url/zh-hant
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url/zh-hk
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url/zh-mo
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url/zh-tw

Screenshot_20191212-195613.jpg (2×1 px, 187 KB)

Simplified Chinese
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url/zh-hans
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url/zh-cn
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url/zh-my
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url/zh-sg

Screenshot_20191212-195322.jpg (2×1 px, 191 KB)

So, the display is normal, and this is a temporary modified, but it is not a complete modify.

Change 737220 had a related patch set uploaded (by A2093064; author: A2093064):

[mediawiki/skins/MinervaNeue@master] Use the message \"portal\" as the label for the \"portal-url\" link

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

@ovasileva we have a patch above to review from a volunteer. What's the priority?

@ovasileva we have a patch above to review from a volunteer. What's the priority?

Not high priority currently, but it is a valuable change so let's provide review when we can

Change 737220 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Use the message \"portal\" as the label for the \"portal-url\" link

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

Patch has been merged. This task seems to also be about an issue with the Wikivoyage footer, so leaving it open and untagging.

Jdlrobson assigned this task to Shizhao.
Jdlrobson reassigned this task from Shizhao to Yuriy_kosygin.
Jdlrobson added a subscriber: Shizhao.
Xiplus removed Yuriy_kosygin as the assignee of this task.

This task seems to also be about an issue with the Wikivoyage footer, so leaving it open and untagging.

The footer is missing now and tracked in T294054.