Index: trunk/extensions/PagedTiffHandler/PagedTiffHandler_body.php |
— | — | @@ -305,7 +305,7 @@ |
306 | 306 | return new ThumbnailImage( $image, $dstUrl, $width, $height, $dstPath, $page ); |
307 | 307 | } |
308 | 308 | |
309 | | - if ( !$this->extCheck( $meta, $error, $dstPath ) ) { |
| 309 | + if ( !self::extCheck( $meta, $error, $dstPath ) ) { |
310 | 310 | return $this->doThumbError( $params, $error ); |
311 | 311 | } |
312 | 312 | |
— | — | @@ -412,14 +412,14 @@ |
413 | 413 | // thumbnail size seems sane. |
414 | 414 | $sz = $wgUser->getOption( 'thumbsize' ); |
415 | 415 | $width = $wgThumbLimits[ $sz ]; |
416 | | - $height = $width; // we don't have a hight or aspect ratio. make it square. |
| 416 | + $height = $width; // we don't have a height or aspect ratio. make it square. |
417 | 417 | } else { |
418 | 418 | $width = intval( $params['width'] ); |
419 | 419 | |
420 | 420 | if ( !empty( $params['height'] ) ) { |
421 | 421 | $height = intval( $params['height'] ); |
422 | 422 | } else { |
423 | | - $height = $width; // we don't have a hight or aspect ratio. make it square. |
| 423 | + $height = $width; // we don't have a height or aspect ratio. make it square. |
424 | 424 | } |
425 | 425 | } |
426 | 426 | |