Page MenuHomeWickedGov Phorge

BitmapHandlerCheckImageAreaHook.php
No OneTemporary

Size
846 B
Referenced Files
None
Subscribers
None

BitmapHandlerCheckImageAreaHook.php

<?php
namespace MediaWiki\Hook;
use 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, 20:44 (4 d, 20 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4f/a4/a3ca2acba033f074b7e68e5d6294
Default Alt Text
BitmapHandlerCheckImageAreaHook.php (846 B)

Event Timeline