* (bug 11067) Fix regression in upload conflict thumbnail display
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 27 Aug 2007 20:10:48 +0000 (20:10 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 27 Aug 2007 20:10:48 +0000 (20:10 +0000)
Wildly incorrect data was getting passed through the Linker makeImageLinkObj -> makeImageLink2 -> makeThumbLink2 path, breaking certain thumb rendering as used by the special:upload ajax thingybob

RELEASE-NOTES
includes/Linker.php

index cb2b838..cb9ecad 100644 (file)
@@ -420,6 +420,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Adding a newline before the statistics footer, to prevent parsing problems
 * Preventing the TOC from appearing in Special:Statistics
 * (bug 11082) Fix check for fully-specced table names in Database::tableName
+* (bug 11067) Fix regression in upload conflict thumbnail display
 
 
 == API changes since 1.10 ==
index 18dc188..35951d5 100644 (file)
@@ -459,7 +459,7 @@ class Linker {
                        $frameParams['framed'] = true;
                }
                if ( $thumb ) {
-                       $frameParams['thumb'] = true;
+                       $frameParams['thumbnail'] = true;
                }
                if ( $manualthumb ) {
                        $frameParams['manualthumb'] = $manualthumb;
@@ -468,7 +468,7 @@ class Linker {
                        $frameParams['valign'] = $valign;
                }
                $file = wfFindFile( $title, $time );
-               return $this->makeImageLink2( $title, $file, $label, $alt, $frameParams, $handlerParams );
+               return $this->makeImageLink2( $title, $file, $frameParams, $handlerParams );
        }
 
        /**