https://bugzilla.wikimedia.org/show_bug.cgi?id=16321

           Summary: Special:NoticeTemplate does not work if the content
                    language is not English
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: CentralNotice
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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()


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to