Last modified: 2013-07-28 15:21:32 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 T51561, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49561 - Special:Block ignores user's preferred language for some menu items (shown in wiki's default language)
Special:Block ignores user's preferred language for some menu items (shown in...
Status: NEW
Product: MediaWiki
Classification: Unclassified
User blocking (Other open bugs)
1.22.0
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-14 02:46 UTC by Dan Jacobson
Modified: 2013-07-28 15:21 UTC (History)
2 users (show)

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


Attachments
menu innards (97.21 KB, image/png)
2013-06-14 02:46 UTC, Dan Jacobson
Details

Description Dan Jacobson 2013-06-14 02:46:50 UTC
Created attachment 12538 [details]
menu innards

Special:Block on wikis with a non-English default language,
where the Sysop has English as his preferred language,
still shows menu innards in non-English!
Comment 1 Andre Klapper 2013-06-14 16:32:55 UTC
So if I get it right, "Other time:" is the expected outcome here, but the rest should not be in zh_TW.

./includes/specials/SpecialBlock.php:
            'other' => $this->msg( 'ipbother' )->text(),
Comment 2 Dan Jacobson 2013-06-14 21:40:07 UTC
ALL TWO drop down menus are affected!
Comment 3 Umherirrender 2013-07-12 19:33:09 UTC
The reason list is in content language, because the resulting log entry should be readable on wiki.

The entries from the expiry list also in content language, because there are read from message Ipboptions and the default from ipb-default-expiry is also read as content language to reflect the wiki default.

Not a good idea to read in user language here.
Comment 4 Dan Jacobson 2013-07-28 15:21:32 UTC
OK then either show it in his favorite language and add a warning that he should leave a comment in the site language... indeed that warning would be needed on every comment box or even edit box on the whole wiki... unless we assume the user has common sense...

Or show it in the site language but add a note visible to the user saying what is going on ...

Or also have the fixed items he clicks be converted to the local language...

In any case there should be a message there saying why this is done on purpose and 'calm down, MW is not broken."

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


Navigation
Links