MediaWiki REL1_35
MediaWiki\Hook\BitmapHandlerCheckImageAreaHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\BitmapHandlerCheckImageAreaHook:

Public Member Functions

 onBitmapHandlerCheckImageArea ( $image, &$params, &$checkImageAreaHookResult)
 This hook is called by BitmapHandler::normaliseParams, after all normalizations have been performed, except for the $wgMaxImageArea check.
 

Detailed Description

Stable to implement.

Definition at line 11 of file BitmapHandlerCheckImageAreaHook.php.

Member Function Documentation

◆ onBitmapHandlerCheckImageArea()

MediaWiki\Hook\BitmapHandlerCheckImageAreaHook::onBitmapHandlerCheckImageArea (   $image,
$params,
$checkImageAreaHookResult 
)

This hook is called by BitmapHandler::normaliseParams, after all normalizations have been performed, except for the $wgMaxImageArea check.

Since
1.35
Parameters
File$image
array&$paramsArray of parameters
bool | null&$checkImageAreaHookResultSet to true or false to override the $wgMaxImageArea check result
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: