MediaWiki
REL1_41
UnblockUserHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Block\DatabaseBlock
;
6
use
MediaWiki\User\User
;
7
15
interface
UnblockUserHook
{
26
public
function
onUnblockUser
( $block, $user, &$reason );
27
}
MediaWiki\Block\DatabaseBlock
A DatabaseBlock (unlike a SystemBlock) is stored in the database, may give rise to autoblocks and may...
Definition
DatabaseBlock.php:51
MediaWiki\User\User
internal since 1.36
Definition
User.php:98
MediaWiki\Hook\UnblockUserHook
This is a hook handler interface, see docs/Hooks.md.
Definition
UnblockUserHook.php:15
MediaWiki\Hook\UnblockUserHook\onUnblockUser
onUnblockUser( $block, $user, &$reason)
This hook is called before an IP address or user is unblocked.
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
specials
Hook
UnblockUserHook.php
Generated on Wed Nov 27 2024 07:25:04 for MediaWiki by
1.10.0