MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
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. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "BitmapHandlerCheckImageArea" to register handlers implementing this interface.
Definition at line 14 of file BitmapHandlerCheckImageAreaHook.php.
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.
File | $image | |
array | &$params | Array of parameters |
bool | null | &$checkImageAreaHookResult | Set to true or false to override the $wgMaxImageArea check result |
Implemented in MediaWiki\HookContainer\HookRunner.