Last modified: 2012-06-12 23:03:08 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 16321 - All messages in CentralNotice are defaulted to English regardless of content language
All messages in CentralNotice are defaulted to English regardless of content ...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
CentralNotice (Other open bugs)
All All
: Low minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: fundraising, i18n
Depends on:
  Show dependency treegraph
Reported: 2008-11-12 16:50 UTC by Mormegil
Modified: 2012-06-12 23:03 UTC (History)
7 users (show)

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


Description Mormegil 2008-11-12 16:50:42 UTC
Special:NoticeTemplate assumes that the content language is English, by:
* having the “original” column in the translation list hardcoded as English (see MediaWiki:Centralnotice-english), and, more importantly by
* creating the message key by comparing its language to 'en' (hardcoded!), not to the content language of the wiki, which means that on any wiki with a different content language, the English message text is fetched (or saved to when translating through this special page) from [[MediaWiki:Centralnotice-something-something]], and the text in the content language is fetched from [[MediaWiki:Centralnotice-something-something/lang]], which are both wrong.

See SpecialNoticeTemplate::showView()
Comment 1 Tomasz Finc 2008-12-15 23:37:00 UTC
Not a bad idea to remove some of the English centric settings in there. I'll see if there are any pitfalls in pulling that out.
Comment 2 Casey Brown 2009-11-10 00:27:04 UTC
This isn't just an issue when you need to use it with other languages, it's also difficult when you want an English specific text... For example:  We want to link to for the English pages, but we want to link to {{int:Centralnotice-2009 Notice1-donate-url}} for all the other languages.

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