Remove Linker::makeImageLink2
Bug: T122754 Change-Id: Ie28dda59cdc450644f7330135b4d43e036d07bf1
This commit is contained in:
parent
08478f550b
commit
b382fb4c38
2 changed files with 1 additions and 11 deletions
|
|
@ -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 ==
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue