r82961 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82960‎ | r82961 | r82962 >
Date:21:08, 28 February 2011
Author:reedy
Status:ok
Tags:
Comment:
Merge r82960 to REL1_17, fixing r82819
Modified paths:
  • /branches/REL1_17/phase3/includes/api/ApiQueryImageInfo.php (modified) (history)

Diff [purge]

Index: branches/REL1_17/phase3/includes/api/ApiQueryImageInfo.php
@@ -283,8 +283,8 @@
284284 }
285285
286286 if ( $url ) {
287 - if ( !is_null( $thumbParams ) ) {
288 - $mto = $file->transform( $thumbParams );
 287+ if ( !is_null( $scale ) && !$file->isOld() ) {
 288+ $mto = $file->transform( array( 'width' => $scale['width'], 'height' => $scale['height'] ) );
289289 if ( $mto && !$mto->isError() ) {
290290 $vals['thumburl'] = wfExpandUrl( $mto->getUrl() );
291291
Property changes on: branches/REL1_17/phase3/includes/api/ApiQueryImageInfo.php
___________________________________________________________________
Modified: svn:mergeinfo
292292 Merged /branches/wmf/1.17wmf1/includes/api/ApiQueryImageInfo.php:r82960

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r82819MFT r82810, r82813, r82814, r82815, r82818reedy21:45, 25 February 2011
r829601.17wmf1: Attempting to fix botched merge in r82820catrope21:01, 28 February 2011

Status & tagging log