* Use content-lang for sitenotice
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 8 Dec 2005 05:28:34 +0000 (05:28 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 8 Dec 2005 05:28:34 +0000 (05:28 +0000)
RELEASE-NOTES
includes/GlobalFunctions.php

index 55cd1b4..d54e90b 100644 (file)
@@ -306,6 +306,7 @@ fully support the editing toolbar, but was found to be too confusing.
   patch by David Benbennick
 * (bug 4214) Skip redundant action text inserts into the HTML <title>
 * (bug 4212) Skip redundant meta-robots tag for default settings
+* Use content-lang for sitenotice
 
 
 === Caveats ===
index 200f4bd..2515f39 100644 (file)
@@ -1288,7 +1288,7 @@ function wfGetSiteNotice() {
        $fname = 'wfGetSiteNotice';
        wfProfileIn( $fname );
 
-       $notice = wfMsg( 'sitenotice' );
+       $notice = wfMsgForContent( 'sitenotice' );
        if( $notice == '&lt;sitenotice&gt;' || $notice == '-' ) {
                $notice = '';
        }