MediaWiki  1.23.2
MockBitmapHandler.php
Go to the documentation of this file.
1 <?php
25  function doTransform( $image, $dstPath, $dstUrl, $params, $flags = 0 ) {
26  return MockImageHandler::doFakeTransform( $this, $image, $dstPath, $dstUrl, $params, $flags );
27  }
28 
29  function doClientImage( $image, $scalerParams ) {
30  return $this->getClientScalingThumbnailImage( $image, $scalerParams );
31  }
32 }
MockBitmapHandler\doClientImage
doClientImage( $image, $scalerParams)
Definition: MockBitmapHandler.php:29
MockImageHandler\doFakeTransform
static doFakeTransform( $that, $image, $dstPath, $dstUrl, $params, $flags=0)
Override BitmapHandler::doTransform() making sure we do not generate a thumbnail at all.
Definition: MockImageHandler.php:39
php
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
$params
$params
Definition: styleTest.css.php:40
$flags
it s the revision text itself In either if gzip is the revision text is gzipped $flags
Definition: hooks.txt:2113
BitmapHandler\getClientScalingThumbnailImage
getClientScalingThumbnailImage( $image, $scalerParams)
Get a ThumbnailImage that respresents an image that will be scaled client side.
Definition: Bitmap.php:288
BitmapHandler
Generic handler for bitmap images.
Definition: Bitmap.php:29
MockBitmapHandler
Definition: MockBitmapHandler.php:24
MockBitmapHandler\doTransform
doTransform( $image, $dstPath, $dstUrl, $params, $flags=0)
Definition: MockBitmapHandler.php:25