Partly revert r105985 for now: Flooding of translatewiki.net log/channel:
authorRaimond Spekking <raymond@users.mediawiki.org>
Tue, 13 Dec 2011 10:40:32 +0000 (10:40 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Tue, 13 Dec 2011 10:40:32 +0000 (10:40 +0000)
PHP Notice: Use of wfUILang was deprecated in MediaWiki 1.18. [Called from TalkpageView::show in /www/w/extensions/LiquidThreads/pages/TalkpageView.php at line 289] in /www/w/includes/GlobalFunctions.php on line 3520

includes/GlobalFunctions.php

index 4db927e..41d2494 100644 (file)
@@ -1153,7 +1153,7 @@ function wfGetLangObj( $langcode = false ) {
  * @return Language
  */
 function wfUILang() {
-       wfDeprecated( __METHOD__, '1.18' );
+       # wfDeprecated( __METHOD__, '1.18' ); // See r105985 and it's revert. Somewhere still used.
        global $wgLang;
        return $wgLang;
 }