Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4152079
BlockIpCompleteHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
801 B
Referenced Files
None
Subscribers
None
BlockIpCompleteHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Block\DatabaseBlock
;
use
MediaWiki\User\User
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "BlockIpComplete" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
BlockIpCompleteHook
{
/**
* This hook is called after an IP address or user is blocked.
*
* @since 1.35
*
* @param DatabaseBlock $block the block object that was saved
* @param User $user the user who did the block (not the one being blocked)
* @param ?DatabaseBlock $priorBlock the block object for the prior block, if there was one
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onBlockIpComplete
(
$block
,
$user
,
$priorBlock
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 19 2026, 20:12 (7 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
19/a6/659d4debac8f2ae88fa9d13f0d5f
Default Alt Text
BlockIpCompleteHook.php (801 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment