MediaWiki fundraising/REL1_35
BlockIpHook.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Hook;
4
6use User;
7
12interface BlockIpHook {
23 public function onBlockIp( $block, $user, &$reason );
24}
A DatabaseBlock (unlike a SystemBlock) is stored in the database, may give rise to autoblocks and may...
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:60
Stable to implement.
onBlockIp( $block, $user, &$reason)
This hook is called before an IP address or user is blocked.