Page MenuHomeWickedGov Phorge

BitmapHandlerCheckImageAreaHook.php
No OneTemporary

Size
870 B
Referenced Files
None
Subscribers
None

BitmapHandlerCheckImageAreaHook.php

<?php
namespace MediaWiki\Hook;
use MediaWiki\FileRepo\File\File;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "BitmapHandlerCheckImageArea" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface BitmapHandlerCheckImageAreaHook {
/**
* This hook is called by BitmapHandler::normaliseParams, after all
* normalizations have been performed, except for the $wgMaxImageArea check.
*
* @since 1.35
*
* @param File $image
* @param array &$params Array of parameters
* @param bool|null &$checkImageAreaHookResult Set to true or false to override the
* $wgMaxImageArea check result
* @return bool|void True or no return value to continue or false to abort
*/
public function onBitmapHandlerCheckImageArea( $image, &$params,
&$checkImageAreaHookResult
);
}

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 3, 13:20 (1 d, 17 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
94/c2/971b458ad06efd430c0b15a917a9
Default Alt Text
BitmapHandlerCheckImageAreaHook.php (870 B)

Event Timeline