Last modified: 2011-03-13 18:05:09 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 T13026, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11026 - zh-* watchlist message should match En logic
zh-* watchlist message should match En logic
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
1.10.x
All All
: Lowest trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  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: ---


Attachments

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' ),
to
'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'            => '監視列表',
to
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.
But http://radioscanningtw.jidanni.org/index.php?title=Special:Specialpages&uselang=en
says My watchlist (Good)
and http://radioscanningtw.jidanni.org/index.php?title=Special:Specialpages
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.


Navigation
Links