From: Raimond Spekking Date: Tue, 13 Dec 2011 10:40:32 +0000 (+0000) Subject: Partly revert r105985 for now: Flooding of translatewiki.net log/channel: X-Git-Tag: 1.31.0-rc.0~26010 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=26bc23556003f7482796d616fd26deda1669e73b;p=lhc%2Fweb%2Fwiklou.git Partly revert r105985 for now: Flooding of translatewiki.net log/channel: 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 --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 4db927eba6..41d24940b1 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -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; }