Remove Linker::makeImageLink2
authorFlorian <florian.schmidt.stargatewissen@gmail.com>
Sun, 3 Jan 2016 13:21:53 +0000 (14:21 +0100)
committerFlorian <florian.schmidt.stargatewissen@gmail.com>
Sun, 3 Jan 2016 20:44:56 +0000 (21:44 +0100)
Bug: T122754
Change-Id: Ie28dda59cdc450644f7330135b4d43e036d07bf1

RELEASE-NOTES-1.27
includes/Linker.php

index 08726a4..d344114 100644 (file)
@@ -214,6 +214,7 @@ changes to languages because of Phabricator reports.
 * wfMsgForContentNoTrans() was removed (deprecated since 1.18).
 * ChangesList::usePatrol was removed (deprecated since 1.22).
 * wfMsgNoTrans() was removed (deprecated since 1.18).
+* Linker::makeImageLink2 was removed (deprecated since 1.20).
 
 == Compatibility ==
 
index 5e035ea..80e4c62 100644 (file)
@@ -670,17 +670,6 @@ class Linker {
                return str_replace( "\n", ' ', $prefix . $s . $postfix );
        }
 
-       /**
-        * See makeImageLink()
-        * When this function is removed, remove if( $parser instanceof Parser ) check there too
-        * @deprecated since 1.20
-        */
-       public static function makeImageLink2( Title $title, $file, $frameParams = array(),
-               $handlerParams = array(), $time = false, $query = "", $widthOption = null ) {
-               return self::makeImageLink( null, $title, $file, $frameParams,
-                       $handlerParams, $time, $query, $widthOption );
-       }
-
        /**
         * Get the link parameters for MediaTransformOutput::toHtml() from given
         * frame parameters supplied by the Parser.