Last modified: 2011-03-13 18:05:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 11026 - zh-* watchlist message should match En logic
zh-* watchlist message should match En logic
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
All All
: Lowest trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-08-22 13:58 UTC by Dan Jacobson
Modified: 2011-03-13 18:05 UTC (History)
0 users

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


Description Dan Jacobson 2007-08-22 13:58:00 UTC
Why does the English version of Special:Specialpages make more sense
than the ZH-TW version?

Because somebody hacked the two English values below to be the same,

$ pcregrep "^'(my)?watchlist'" MessagesEn.php MessagesZh_tw.php
MessagesEn.php:'watchlist'			=> 'My watchlist',
MessagesEn.php:'mywatchlist'			=> 'My watchlist',
MessagesZh_tw.php:'watchlist'            => '監視列表',
MessagesZh_tw.php:'mywatchlist'          => '我的監視列表',

Instead of fixing
'Watchlist'                 => array( 'SpecialPage', 'Watchlist' ),
'Watchlist'                 => array( 'SpecialPage', 'Mywatchlist' ),
on SpecialPage.php... I guess/suppose. Wonder what else this hack
covers and how many languages got hacked too. Also odd that I must
write Mywatchlist instead of mywatchlist in the last column... all
guesses. Didn't test.
Comment 1 Rob Church 2007-08-22 14:03:21 UTC
Not a bug report.
Comment 2 Dan Jacobson 2007-08-22 14:10:45 UTC
Make Special:Specialpages use mywatchlist, not watchlist,
so it picks the correct ZH-TW string.

That you like your two EN strings to be the same is
your own problem, not mine.

ZH-TW has a correct translation and EN does not.
Comment 3 Rob Church 2007-08-28 16:41:14 UTC
The descriptive title for a special page is determined by the message with the same name as the actual title. Your "untested guesses" are incorrect and would actually break the special page.

The two messages are used for different things. That they are the same in English is completely irrelevant to other translations.
Comment 4 Dan Jacobson 2007-08-28 16:57:49 UTC
Then change
MessagesZh_tw.php:'watchlist'            => '監視列表',
MessagesZh_tw.php:'watchlist'            => '我的監視列表',
so that it makes as much sense as the English.
Comment 5 Shinjiman 2007-08-28 17:33:40 UTC
The Chinese translations for 'watchlist' and 'mywatchlist' are correct. I didn't see any reasons for changing them.
Comment 6 Dan Jacobson 2007-08-28 17:58:00 UTC
Yes of course the Chinese are correct.
says My watchlist (Good)
just says Watchlist (in Chinese, of course), which is not as good as
My watchlist. (in Chinese, of course),

The only way to achieve this is to glue the two Chinese variables together,
just like somebody did with the English.

I.e., please kludge up the currently smarter Chinese, so it is hacked like the English.

Yes this seems dumb to me.

Because apparently Special:Specialpages is not to be tampered with.

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