From ca32f08966f1b51fcb19460f0996bb0c4048e6fe Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 3 Dec 2011 13:29:22 +0100 Subject: Update to MediaWiki 1.18.0 * also update ArchLinux skin to chagnes in MonoBook * Use only css to hide our menu bar when printing --- includes/media/Bitmap_ClientOnly.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'includes/media/Bitmap_ClientOnly.php') diff --git a/includes/media/Bitmap_ClientOnly.php b/includes/media/Bitmap_ClientOnly.php index 9f6f7b33..50679229 100644 --- a/includes/media/Bitmap_ClientOnly.php +++ b/includes/media/Bitmap_ClientOnly.php @@ -15,10 +15,24 @@ * @ingroup Media */ class BitmapHandler_ClientOnly extends BitmapHandler { + + /** + * @param $image File + * @param $params + * @return bool + */ function normaliseParams( $image, &$params ) { return ImageHandler::normaliseParams( $image, $params ); } + /** + * @param $image File + * @param $dstPath + * @param $dstUrl + * @param $params + * @param int $flags + * @return ThumbnailImage|TransformParameterError + */ function doTransform( $image, $dstPath, $dstUrl, $params, $flags = 0 ) { if ( !$this->normaliseParams( $image, $params ) ) { return new TransformParameterError( $params ); -- cgit v1.2.3-54-g00ecf