Partly revert r105985 for now: Flooding of translatewiki.net log/channel:
authorRaimond Spekking <raymond@users.mediawiki.org>
Tue, 13 Dec 2011 10:36:16 +0000 (10:36 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Tue, 13 Dec 2011 10:36:16 +0000 (10:36 +0000)
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

index 6cb92fc..454a35f 100644 (file)
@@ -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__ );