MediaWiki  1.23.8
Bitmap_ClientOnly.php
Go to the documentation of this file.
1 <?php
38  function normaliseParams( $image, &$params ) {
39  return ImageHandler::normaliseParams( $image, $params );
40  }
41 
50  function doTransform( $image, $dstPath, $dstUrl, $params, $flags = 0 ) {
51  if ( !$this->normaliseParams( $image, $params ) ) {
52  return new TransformParameterError( $params );
53  }
54 
55  return new ThumbnailImage( $image, $image->getURL(), $image->getLocalRefPath(), $params );
56  }
57 }
ThumbnailImage
Media transform output for images.
Definition: MediaTransformOutput.php:250
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
BitmapHandler_ClientOnly\doTransform
doTransform( $image, $dstPath, $dstUrl, $params, $flags=0)
Definition: Bitmap_ClientOnly.php:50
$flags
it s the revision text itself In either if gzip is the revision text is gzipped $flags
Definition: hooks.txt:2113
BitmapHandler
Generic handler for bitmap images.
Definition: Bitmap.php:29
BitmapHandler_ClientOnly\normaliseParams
normaliseParams( $image, &$params)
Definition: Bitmap_ClientOnly.php:38
ImageHandler\normaliseParams
normaliseParams( $image, &$params)
Definition: ImageHandler.php:86
TransformParameterError
Shortcut class for parameter validation errors.
Definition: MediaTransformOutput.php:452
BitmapHandler_ClientOnly
Handler for bitmap images that will be resized by clients.
Definition: Bitmap_ClientOnly.php:32