MediaWiki REL1_35
MediaWiki\Block\Hook\AbortAutoblockHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Block\Hook\AbortAutoblockHook:

Public Member Functions

 onAbortAutoblock ( $autoblockip, $block)
 Use this hook to cancel an autoblock.
 

Detailed Description

Stable to implement.

Definition at line 11 of file AbortAutoblockHook.php.

Member Function Documentation

◆ onAbortAutoblock()

MediaWiki\Block\Hook\AbortAutoblockHook::onAbortAutoblock (   $autoblockip,
  $block 
)

Use this hook to cancel an autoblock.

Since
1.35
Parameters
string$autoblockipIP going to be autoblocked
DatabaseBlock$blockBlock from which the autoblock is coming
Returns
bool|void True or no return value to continue, or false to cancel an autoblock

Implemented in MediaWiki\HookContainer\HookRunner.


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