From: Brion Vibber Date: Tue, 5 Sep 2006 09:44:52 +0000 (+0000) Subject: * (bug 7223) Monobook.js is used for site content, should not be localized X-Git-Tag: 1.31.0-rc.0~55831 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=3603771c1f9620aaf848182fc04f7a3c7f14f006;p=lhc%2Fweb%2Fwiklou.git * (bug 7223) Monobook.js is used for site content, should not be localized --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 68af55c203..b5045bc491 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -180,6 +180,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 6675) Replaced message 'watchthis' with new message 'watchthisupload in Special:Upload * Add a quickie script dumpSisterSites.php for generating a page list in the format for WSR-1 SisterSites support +* (bug 7223) Monobook.js is used for site content, should not be localized == Languages updated == diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index f6ee35657c..5d28478054 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -1013,7 +1013,7 @@ class SkinTemplate extends Skin { // avoid inclusion of non defined user JavaScript (with custom skins only) // by checking for default message content $msgKey = ucfirst($this->skinname).'.js'; - $userJS = wfMsg($msgKey); + $userJS = wfMsgForContent($msgKey); if ('<'.$msgKey.'>' != $userJS) { $s .= $userJS; }