MediaWiki REL1_31
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}
Generic handler for bitmap images.
Definition Bitmap.php:29
doTransform( $image, $dstPath, $dstUrl, $params, $flags=0)
Create a thumbnail.
doClientImage( $image, $scalerParams)
static doFakeTransform( $that, $image, $dstPath, $dstUrl, $params, $flags=0)
Override BitmapHandler::doTransform() making sure we do not generate a thumbnail at all.
getClientScalingThumbnailImage( $image, $scalerParams)
Get a ThumbnailImage that respresents an image that will be scaled client side.
this hook is for auditing only or null if authentication failed before getting that far or null if we can t even determine that probably a stub it is not rendered in wiki pages or galleries in category pages allow injecting custom HTML after the section Any uses of the hook need to handle escaping see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array or by returning and letting standard HTTP rendering take place modifiable or by returning false and taking over the output modifiable modifiable after all normalizations have been except for the $wgMaxImageArea check $image
Definition hooks.txt:895
$params