r21532 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r21531‎ | r21532 | r21533 >
Date:15:09, 24 April 2007
Author:tstarling
Status:old
Tags:
Comment:
need destination path even when rendering later
Modified paths:
  • /trunk/phase3/includes/media/SVG.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/media/SVG.php
@@ -51,7 +51,7 @@
5252 $srcPath = $image->getImagePath();
5353
5454 if ( $flags & self::TRANSFORM_LATER ) {
55 - return new ThumbnailImage( $dstUrl, $clientWidth, $clientHeight );
 55+ return new ThumbnailImage( $dstUrl, $clientWidth, $clientHeight, $dstPath );
5656 }
5757
5858 if ( !wfMkdirParents( dirname( $dstPath ) ) ) {