From 45abb05da300b525187104ff5dd7b3113c9acce5 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Fri, 6 May 2011 23:31:59 +0000 Subject: [PATCH] Remove another unused deprecated function Update 1 inbound caller --- includes/Linker.php | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/includes/Linker.php b/includes/Linker.php index d84a752cf3..f641074178 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1897,45 +1897,6 @@ class Linker { return self::makeKnownLinkObj( $nt, $text, $query, $trail, $prefix, '', $style ); } - /** - * Creates the HTML source for images - * @deprecated since 1.16 use makeImageLink2 - * - * @param $title Title object - * @param $label String: label text - * @param $alt String: alt text - * @param $align String: horizontal alignment: none, left, center, right) - * @param $handlerParams Array: parameters to be passed to the media handler - * @param $framed Boolean: shows image in original size in a frame - * @param $thumb Boolean: shows image as thumbnail in a frame - * @param $manualthumb String: image name for the manual thumbnail - * @param $valign String: vertical alignment: baseline, sub, super, top, text-top, middle, bottom, text-bottom - * @param $time String: timestamp of the file, set as false for current - * @return String - */ - static function makeImageLinkObj( $title, $label, $alt, $align = '', $handlerParams = array(), - $framed = false, $thumb = false, $manualthumb = '', $valign = '', $time = false ) - { - $frameParams = array( 'alt' => $alt, 'caption' => $label ); - if ( $align ) { - $frameParams['align'] = $align; - } - if ( $framed ) { - $frameParams['framed'] = true; - } - if ( $thumb ) { - $frameParams['thumbnail'] = true; - } - if ( $manualthumb ) { - $frameParams['manualthumb'] = $manualthumb; - } - if ( $valign ) { - $frameParams['valign'] = $valign; - } - $file = wfFindFile( $title, array( 'time' => $time ) ); - return self::makeImageLink2( $title, $file, $frameParams, $handlerParams, $time ); - } - /** * Returns the attributes for the tooltip and access key. */ -- 2.20.1