Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1428412
AbortAutoblockHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
663 B
Referenced Files
None
Subscribers
None
AbortAutoblockHook.php
View Options
<?php
namespace
MediaWiki\Block\Hook
;
use
MediaWiki\Block\DatabaseBlock
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "AbortAutoblock" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
AbortAutoblockHook
{
/**
* Use this hook to cancel an autoblock.
*
* @since 1.35
*
* @param string $autoblockip IP going to be autoblocked
* @param DatabaseBlock $block Block from which the autoblock is coming
* @return bool|void True or no return value to continue, or false to cancel an autoblock
*/
public
function
onAbortAutoblock
(
$autoblockip
,
$block
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 16:12 (13 h, 48 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
16/2b/719b6e98f4fd5a8eb08fd2a8a88a
Default Alt Text
AbortAutoblockHook.php (663 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment