From: Brion Vibber Date: Thu, 8 Dec 2005 05:28:34 +0000 (+0000) Subject: * Use content-lang for sitenotice X-Git-Tag: 1.6.0~988 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/supprimer.php?a=commitdiff_plain;h=9edc5158344f901b7a91053463cda1a6dd3aad38;p=lhc%2Fweb%2Fwiklou.git * Use content-lang for sitenotice --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 55cd1b4ca1..d54e90baac 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 * (bug 4212) Skip redundant meta-robots tag for default settings +* Use content-lang for sitenotice === Caveats === diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 200f4bdad7..2515f395fa 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1288,7 +1288,7 @@ function wfGetSiteNotice() { $fname = 'wfGetSiteNotice'; wfProfileIn( $fname ); - $notice = wfMsg( 'sitenotice' ); + $notice = wfMsgForContent( 'sitenotice' ); if( $notice == '<sitenotice>' || $notice == '-' ) { $notice = ''; }