Index: trunk/phase3/includes/media/BMP.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | } |
19 | 19 | |
20 | 20 | // Render files as PNG |
21 | | - function getThumbType( $text, $mime ) { |
| 21 | + function getThumbType( $text, $mime, $params = null ) { |
22 | 22 | return array( 'png', 'image/png' ); |
23 | 23 | } |
24 | 24 | |
Index: trunk/phase3/includes/media/SVG.php |
— | — | @@ -106,7 +106,7 @@ |
107 | 107 | return wfGetSVGsize( $path ); |
108 | 108 | } |
109 | 109 | |
110 | | - function getThumbType( $ext, $mime ) { |
| 110 | + function getThumbType( $ext, $mime, $params = null ) { |
111 | 111 | return array( 'png', 'image/png' ); |
112 | 112 | } |
113 | 113 | |
Index: trunk/phase3/includes/media/DjVu.php |
— | — | @@ -181,7 +181,7 @@ |
182 | 182 | return $this->getDjVuImage( $image, $path )->getImageSize(); |
183 | 183 | } |
184 | 184 | |
185 | | - function getThumbType( $ext, $mime ) { |
| 185 | + function getThumbType( $ext, $mime, $params = null ) { |
186 | 186 | global $wgDjvuOutputExtension; |
187 | 187 | static $mime; |
188 | 188 | if ( !isset( $mime ) ) { |
Index: trunk/phase3/includes/media/Tiff.php |
— | — | @@ -26,7 +26,7 @@ |
27 | 27 | return true; |
28 | 28 | } |
29 | 29 | |
30 | | - function getThumbType( $ext, $mime ) { |
| 30 | + function getThumbType( $ext, $mime, $params = null ) { |
31 | 31 | global $wgTiffThumbnailType; |
32 | 32 | return $wgTiffThumbnailType; |
33 | 33 | } |