Index: trunk/extensions/WikiAtHome/NonFreeVideoHandler.php |
— | — | @@ -191,7 +191,7 @@ |
192 | 192 | return $this->unpackMetadata( $metadata ) !== false; |
193 | 193 | } |
194 | 194 | |
195 | | - function getThumbType( $ext, $mime ) { |
| 195 | + function getThumbType( $ext, $mime, $params = null ) { |
196 | 196 | return array( 'jpg', 'image/jpeg' ); |
197 | 197 | } |
198 | 198 | |
Index: trunk/extensions/OggHandler/OggHandler_body.php |
— | — | @@ -176,7 +176,7 @@ |
177 | 177 | return $this->unpackMetadata( $metadata ) !== false; |
178 | 178 | } |
179 | 179 | |
180 | | - function getThumbType( $ext, $mime ) { |
| 180 | + function getThumbType( $ext, $mime, $params = null ) { |
181 | 181 | return array( 'jpg', 'image/jpeg' ); |
182 | 182 | } |
183 | 183 | |
Index: trunk/extensions/FlvHandler/FlvImageHandler.php |
— | — | @@ -117,7 +117,7 @@ |
118 | 118 | return wfGetFLVsize( $path ); |
119 | 119 | }*/ |
120 | 120 | |
121 | | - function getThumbType( $ext, $mime ) { |
| 121 | + function getThumbType( $ext, $mime, $params = null ) { |
122 | 122 | return array( 'png', 'image/png' ); |
123 | 123 | } |
124 | 124 | |
Index: trunk/extensions/TimedMediaHandler/TimedMediaHandler_body.php |
— | — | @@ -171,7 +171,7 @@ |
172 | 172 | return $this->unpackMetadata( $metadata ) !== false; |
173 | 173 | } |
174 | 174 | |
175 | | - function getThumbType( $ext, $mime ) { |
| 175 | + function getThumbType( $ext, $mime, $params = null ) { |
176 | 176 | return array( 'jpg', 'image/jpeg' ); |
177 | 177 | } |
178 | 178 | |
Index: trunk/extensions/PdfHandler/PdfHandler_body.php |
— | — | @@ -173,7 +173,7 @@ |
174 | 174 | return $this->getPdfImage( $image, $path )->getImageSize(); |
175 | 175 | } |
176 | 176 | |
177 | | - function getThumbType( $ext, $mime ) { |
| 177 | + function getThumbType( $ext, $mime, $params = null ) { |
178 | 178 | global $wgPdfOutputExtension; |
179 | 179 | static $mime; |
180 | 180 | |