Follow-up r68409: shut up PHP Strict Standards notices about "Declaration of Blah...
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Wed, 23 Jun 2010 18:18:14 +0000 (18:18 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Wed, 23 Jun 2010 18:18:14 +0000 (18:18 +0000)
includes/media/BMP.php
includes/media/DjVu.php
includes/media/SVG.php
includes/media/Tiff.php

index 39b2974..89c763a 100644 (file)
@@ -17,7 +17,7 @@ class BmpHandler extends BitmapHandler {
        }
 
        // Render files as PNG
-       function getThumbType( $text, $mime ) {
+       function getThumbType( $text, $mime, $params = null ) {
                return array( 'png', 'image/png' );
        }
 
index 38c16c2..0812ae5 100644 (file)
@@ -181,7 +181,7 @@ class DjVuHandler extends ImageHandler {
                return $this->getDjVuImage( $image, $path )->getImageSize();
        }
 
-       function getThumbType( $ext, $mime ) {
+       function getThumbType( $ext, $mime, $params = null ) {
                global $wgDjvuOutputExtension;
                static $mime;
                if ( !isset( $mime ) ) {
index 4cc66fb..69a36f3 100644 (file)
@@ -106,7 +106,7 @@ class SvgHandler extends ImageHandler {
                return wfGetSVGsize( $path );
        }
 
-       function getThumbType( $ext, $mime ) {
+       function getThumbType( $ext, $mime, $params = null ) {
                return array( 'png', 'image/png' );
        }
 
index 9d3fbb7..859595b 100644 (file)
@@ -26,7 +26,7 @@ class TiffHandler extends BitmapHandler {
                return true;
        }
 
-       function getThumbType( $ext, $mime ) {
+       function getThumbType( $ext, $mime, $params = null ) {
                global $wgTiffThumbnailType;
                return $wgTiffThumbnailType;
        }