From 26bc23556003f7482796d616fd26deda1669e73b Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Tue, 13 Dec 2011 10:40:32 +0000 Subject: [PATCH] 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 --- includes/GlobalFunctions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1