diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-06-22 11:28:20 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-06-22 11:28:20 +0200 |
commit | 9db190c7e736ec8d063187d4241b59feaf7dc2d1 (patch) | |
tree | 46d1a0dee7febef5c2d57a9f7b972be16a163b3d /includes/media/DjVu.php | |
parent | 78677c7bbdcc9739f6c10c75935898a20e1acd9e (diff) |
update to MediaWiki 1.17.0
Diffstat (limited to 'includes/media/DjVu.php')
-rw-r--r-- | includes/media/DjVu.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/includes/media/DjVu.php b/includes/media/DjVu.php index 38c16c21..cc3f1db5 100644 --- a/includes/media/DjVu.php +++ b/includes/media/DjVu.php @@ -1,10 +1,14 @@ <?php /** + * Handler for DjVu images + * * @file * @ingroup Media */ /** + * Handler for DjVu images + * * @ingroup Media */ class DjVuHandler extends ImageHandler { @@ -104,6 +108,7 @@ class DjVuHandler extends ImageHandler { $cmd .= ' > ' . wfEscapeShellArg($dstPath) . ') 2>&1'; wfProfileIn( 'ddjvu' ); wfDebug( __METHOD__.": $cmd\n" ); + $retval = ''; $err = wfShellExec( $cmd, $retval ); wfProfileOut( 'ddjvu' ); @@ -181,7 +186,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 ) ) { |