From: Philip Tzou Date: Mon, 20 Apr 2009 04:29:35 +0000 (+0000) Subject: Enabled LanguageConverter on CachedNotice to get a correct output. X-Git-Tag: 1.31.0-rc.0~42099 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=450585db889743803632e821024cbc4a0ab98de0;p=lhc%2Fweb%2Fwiklou.git Enabled LanguageConverter on CachedNotice to get a correct output. --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 964213c59c..bf93bbbbfb 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -1963,7 +1963,8 @@ function wfGetCachedNotice( $name ) { } wfProfileOut( $fname ); - return $notice; + global $wgContLang; + return $wgContLang->convert( $notice ); } function wfGetNamespaceNotice() {