Last modified: 2014-07-21 15:27:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66816, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64816 - No Chinese variant translation displayed for zh.voy's sitename + no sitesubtitle shown in <title>
No Chinese variant translation displayed for zh.voy's sitename + no sitesubti...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Tomasz W. Kozlowski
https://zh.wikivoyage.org/wiki/%E9%A6...
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-04 10:21 UTC by Hkjacksonhk
Modified: 2014-07-21 15:27 UTC (History)
11 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Hkjacksonhk 2014-05-04 10:21:18 UTC
Like the topic, zh.voy's site name can not have zh-hans/hant translate and the sitesubtitle can not display out next to the sitename.
Comment 1 Andre Klapper 2014-05-05 07:57:12 UTC
Thanks for taking the time to report this!

What are steps to see the problem? 
What can be seen where and what is expected instead?
Comment 2 Hkjacksonhk 2014-05-05 08:09:01 UTC
(In reply to Andre Klapper from comment #1)
> Thanks for taking the time to report this!
> 
> What are steps to see the problem? 
> What can be seen where and what is expected instead?

Well, when you are at "zh.wikivoyage.org/wiki/首页", look at the tab on your browser, it display as "维基导游 (zh-hans)". However when you change your language in to zh-hant, zh-tw or zh-hk, it won't change in to "維基導遊 (zh-hant)". And also, like the en wikipedia, its web name display on the brower tab is "Wikipedia, the free encyclopedia", but zh.voy just has "维基导游 (Wikivoyage)", so the sitesubtitle "自由的旅遊指南 (free worldwide travel guide)" can not display out.
Comment 3 Andre Klapper 2014-05-05 12:01:37 UTC
If you refer to the page <title> and the Wikivoyage logo, I can confirm that it does not change when switching to another Chinese variant.
Comment 4 Liangent 2014-05-05 12:27:27 UTC
Text in <title> is affected by message "pagetitle-view-mainpage" for main page and "pagetitle" for other pages; you can do customization there. To have different text of "pagetitle-view-mainpage" in different languages, it needs to be added to $wgForceUIMsgAsContentMsg. See bug 32547.
Comment 5 Liangent 2014-05-05 12:29:20 UTC
Regarding the logo, search for "#p-logo" in [[zh:MediaWiki:Common.css]].
Comment 6 Andre Klapper 2014-05-05 12:45:32 UTC
Liangent: Thanks for sharing your knowledge here!
Comment 7 Tomasz W. Kozlowski 2014-05-08 10:13:05 UTC
So, to sum up this bug: 

1. The logo issue can be easily fixed by adding appropriate CSS rules to the MediaWiki:Common.css page (just copy them from zh.wikipedia and change the logo to suit your needs; I can create one if need be);
2. The main page title issue can be fixed by submitting a patch to add pagetitle-view-mainpage to $wgForceUIMsgAsContentMsg as suggested by Liangent in comment 4 — and I'm inclined to do that unless there is a good reason no to.

However, I am unable to reproduce the other problem mentioned in comment 2 related to the tagline: <https://zh.wikivoyage.org/wiki/MediaWiki:Tagline> currently holds the default value from Translatewiki.net. What should I do to make it display "From Wikipedia, the free encyclopedia"?
Comment 8 Hkjacksonhk 2014-05-11 02:59:27 UTC
Thank you for everyone's comment, I have fixed this problem!
Comment 10 Gerrit Notification Bot 2014-07-21 09:38:43 UTC
Change 148032 had a related patch set uploaded by Odder:
Set $wgForceUIMsgAsContentMsg for zhwikivoyage

https://gerrit.wikimedia.org/r/148032
Comment 11 Gerrit Notification Bot 2014-07-21 15:22:10 UTC
Change 148032 merged by jenkins-bot:
Set $wgForceUIMsgAsContentMsg for zhwikivoyage

https://gerrit.wikimedia.org/r/148032
Comment 12 James Forrester 2014-07-21 15:27:27 UTC
This should now be done. Thanks, Odder!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links