Last modified: 2014-11-16 07:04:14 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 T53475, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51475 - Use contentlanguage for CentralNotice banners
Use contentlanguage for CentralNotice banners
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
CentralNotice (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 31036
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-16 20:44 UTC by WhatamIdoing
Modified: 2014-11-16 07:04 UTC (History)
6 users (show)

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


Attachments

Description WhatamIdoing 2013-07-16 20:44:50 UTC
CentralNotice banners are displayed per language.  We usually mean for a Polish translation of a banner to be displayed at the Polish Wikipedia, the German translation to be displayed at the German Wikipedia, etc.

If Universal Language Selector is set to use the same language as the wiki's content language, then this works as expected.

However, if ULS is set to use a language that does not match the content language of the wiki (e.g., English on the Polish Wikipedia), then ULS's language is the one that determines which translation of a banner you see (probably good) and, for banners that are not applicable to 100% of projects, whether you see one at all (bad).

This means that a banner intended only for the German Wikipedia will display for any German-using editor at any of the Wikipedias (e.g., Chinese), and that a Chinese-language banner intended for all editors at the Chinese Wikipedia will not be displayed to anyone who has changed the ULS settings to anything other than Chinese.
Comment 1 James Alexander 2013-07-16 20:53:56 UTC
To be clear this isn't just a ULS thing, the current default rule for CN is to always use the 'user' language rather then the content language. This is, essentially, a request to change to contentlanguge :)
Comment 2 Andre Klapper 2013-07-17 13:51:27 UTC
Rephrasing summary.

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


Navigation
Links