r101755 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101754‎ | r101755 | r101756 >
Date:00:05, 3 November 2011
Author:aaron
Status:ok
Tags:
Comment:
Fixed undefined '$wgMaxImageAre' var
Modified paths:
  • /trunk/extensions/VipsScaler/VipsScaler_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/VipsScaler/VipsScaler_body.php
@@ -290,8 +290,9 @@
291291 * @return bool
292292 */
293293 public static function onBitmapHandlerCheckImageArea( $file, &$params, &$result ) {
 294+ global $wgMaxImageArea;
294295 if ( self::getHandlerOptions( $file->getHandler(), $file, $params ) !== false ) {
295 - wfDebug( __METHOD__ . ": Overriding $wgMaxImageAre\n" );
 296+ wfDebug( __METHOD__ . ": Overriding $wgMaxImageArea\n" );
296297 $result = true;
297298 return false;
298299 }

Status & tagging log