* (bug 7223) Monobook.js is used for site content, should not be localized
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 5 Sep 2006 09:44:52 +0000 (09:44 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 5 Sep 2006 09:44:52 +0000 (09:44 +0000)
RELEASE-NOTES
includes/SkinTemplate.php

index 68af55c..b5045bc 100644 (file)
@@ -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 ==
index f6ee356..5d28478 100644 (file)
@@ -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 ('&lt;'.$msgKey.'&gt;' != $userJS) {
                        $s .= $userJS;
                }