Last modified: 2012-06-12 23:03:08 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 T18321, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
unspecified
All All
: Low minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: fundraising, i18n
Depends on:
Blocks:
  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: ---


Attachments

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 http://wikimediafoundation.org/wiki/Support_Wikipedia2/en 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.


Navigation
Links