From 1d1656de12d0a9bf4d987abb75147834a0aaf818 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Tue, 13 Dec 2011 10:36:16 +0000 Subject: [PATCH] Partly revert r105985 for now: Flooding of translatewiki.net log/channel: PHP Notice: Use of Linker::makeLinkObj was deprecated in MediaWiki 1.16. [Called from call_user_func_array in (internal function)] in /www/w/includes/GlobalFunctions.php on line 3520 PHP Notice: Use of Linker::makeKnownLinkObj was deprecated in MediaWiki 1.16. [Called from call_user_func_array in (internal function)] in /www/w/includes/GlobalFunctions.php on line 3520 --- includes/Linker.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Linker.php b/includes/Linker.php index 6cb92fc890..454a35f58d 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1903,7 +1903,7 @@ class Linker { * @param $prefix String: optional prefix. As trail, only before instead of after. */ static function makeLinkObj( $nt, $text = '', $query = '', $trail = '', $prefix = '' ) { - wfDeprecated( __METHOD__, '1.16' ); + # wfDeprecated( __METHOD__, '1.16' ); // See r105985 and it's revert. Somewhere still used. wfProfileIn( __METHOD__ ); $query = wfCgiToArray( $query ); @@ -1937,7 +1937,7 @@ class Linker { static function makeKnownLinkObj( $title, $text = '', $query = '', $trail = '', $prefix = '' , $aprops = '', $style = '' ) { - wfDeprecated( __METHOD__, '1.16' ); + # wfDeprecated( __METHOD__, '1.16' ); // See r105985 and it's revert. Somewhere still used. wfProfileIn( __METHOD__ ); -- 2.20.1