Index: trunk/extensions/VipsScaler/VipsScaler_body.php |
— | — | @@ -290,8 +290,9 @@ |
291 | 291 | * @return bool |
292 | 292 | */ |
293 | 293 | public static function onBitmapHandlerCheckImageArea( $file, &$params, &$result ) { |
| 294 | + global $wgMaxImageArea; |
294 | 295 | if ( self::getHandlerOptions( $file->getHandler(), $file, $params ) !== false ) { |
295 | | - wfDebug( __METHOD__ . ": Overriding $wgMaxImageAre\n" ); |
| 296 | + wfDebug( __METHOD__ . ": Overriding $wgMaxImageArea\n" ); |
296 | 297 | $result = true; |
297 | 298 | return false; |
298 | 299 | } |