MediaWiki
master
GetBlockErrorMessageKeyHook.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Hook
;
4
5
use
MediaWiki\Block\Block
;
6
14
interface
GetBlockErrorMessageKeyHook
{
26
public
function
onGetBlockErrorMessageKey
(
Block
$block,
string
&$key );
27
}
MediaWiki\Block\Block
Represents a block that may prevent users from performing specific operations.
Definition
Block.php:45
MediaWiki\Hook\GetBlockErrorMessageKeyHook
This is a hook handler interface, see docs/Hooks.md.
Definition
GetBlockErrorMessageKeyHook.php:14
MediaWiki\Hook\GetBlockErrorMessageKeyHook\onGetBlockErrorMessageKey
onGetBlockErrorMessageKey(Block $block, string &$key)
This hook is called in BlockErrorFormatter to allow extensions to override the message that will be d...
MediaWiki\Hook
Definition
ActionBeforeFormDisplayHook.php:3
includes
Hook
GetBlockErrorMessageKeyHook.php
Generated on Mon Dec 9 2024 02:23:58 for MediaWiki by
1.10.0