Enabled LanguageConverter on CachedNotice to get a correct output.
authorPhilip Tzou <philip@users.mediawiki.org>
Mon, 20 Apr 2009 04:29:35 +0000 (04:29 +0000)
committerPhilip Tzou <philip@users.mediawiki.org>
Mon, 20 Apr 2009 04:29:35 +0000 (04:29 +0000)
includes/GlobalFunctions.php

index 964213c..bf93bbb 100644 (file)
@@ -1963,7 +1963,8 @@ function wfGetCachedNotice( $name ) {
        }
 
        wfProfileOut( $fname );
-       return $notice;
+       global $wgContLang;
+       return $wgContLang->convert( $notice );
 }
 
 function wfGetNamespaceNotice() {