MediaWiki master
BlockIpHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
7
15interface BlockIpHook {
26 public function onBlockIp( $block, $user, &$reason );
27}
A DatabaseBlock (unlike a SystemBlock) is stored in the database, may give rise to autoblocks and may...
internal since 1.36
Definition User.php:93
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.