r104737 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104736‎ | r104737 | r104738 >
Date:20:25, 30 November 2011
Author:btongminh
Status:ok
Tags:
Comment:
Revert r104734, wrong file...
Modified paths:
  • /trunk/extensions/VipsScaler/SpecialVipsTest.php (modified) (history)

Diff [purge]

Index: trunk/extensions/VipsScaler/SpecialVipsTest.php
@@ -79,9 +79,6 @@
8080 if ( $request->getCheck( 'bilinear' ) ) {
8181 $vipsUrlOptions['bilinear'] = 1;
8282 }
83 - if ( $request->getCheck( 'preconvert' ) ) {
84 - $vipsUrlOptions['preconvert'] = 1;
85 - }
8683
8784 # Generate normal thumbnail
8885 $params = array( 'width' => $width );
@@ -192,11 +189,6 @@
193190 'class' => 'HTMLCheckField',
194191 'label-message' => 'vipsscaler-form-bilinear',
195192 ),
196 - 'Preconvert' => array(
197 - 'name' => 'preconvert',
198 - 'class' => 'HTMLCheckField',
199 - 'label-message' => 'vipsscaler-form-preconvert',
200 - ),
201193 );
202194
203195 /**
@@ -347,9 +339,6 @@
348340 $options['sharpen'] = array( 'sigma' => floatval( $request->getVal( 'sharpen' ) ) );
349341 wfDebug( __METHOD__ . ": sharpening with radius {$options['sharpen']}\n" );
350342 }
351 - if ( $request->getBool( 'preconvert' ) ) {
352 - $options['preconvert'] = true;
353 - }
354343
355344 # Call the hook
356345 $mto = null;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r104734Follow-up r104733, fix stupid missing $btongminh20:22, 30 November 2011

Status & tagging log