MediaWiki master
BlockIpHook.php
Go to the documentation of this file.
1<?php
2
4
7
15interface BlockIpHook {
26 public function onBlockIp( $block, $user, &$reason );
27}
28
30class_alias( BlockIpHook::class, 'MediaWiki\\Hook\\BlockIpHook' );
A DatabaseBlock (unlike a SystemBlock) is stored in the database, may give rise to autoblocks and may...
User class for the MediaWiki software.
Definition User.php:130
This is a hook handler interface, see docs/Hooks.md.
onBlockIp( $block, $user, &$reason)
This hook is called before an IP address or user is blocked.