MediaWiki
master
Toggle main menu visibility
BlockIpHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Specials\Hook;
4
5
use MediaWiki\Block\DatabaseBlock;
6
use MediaWiki\User\User;
7
15
interface
BlockIpHook
{
26
public
function
onBlockIp
( $block, $user, &$reason );
27
}
28
30
class_alias( BlockIpHook::class,
'MediaWiki\\Hook\\BlockIpHook'
);
MediaWiki\Specials\Hook\BlockIpHook
This is a hook handler interface, see docs/Hooks.md.
Definition
BlockIpHook.php:15
MediaWiki\Specials\Hook\BlockIpHook\onBlockIp
onBlockIp( $block, $user, &$reason)
This hook is called before an IP address or user is blocked.
includes
Specials
Hook
BlockIpHook.php
Generated on
for MediaWiki by
1.18.0