Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F33735
GetBlockErrorMessageKeyHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
677 B
Referenced Files
None
Subscribers
None
GetBlockErrorMessageKeyHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Block\Block
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "GetBlockErrorMessageKey" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
GetBlockErrorMessageKeyHook
{
/**
* This hook is called in BlockErrorFormatter to allow
* extensions to override the message that will be displayed
* to the user.
*
* @since 1.40
*
* @param Block $block
* @param string &$key
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onGetBlockErrorMessageKey
(
Block
$block
,
string
&
$key
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, Dec 18, 07:56 (47 m, 23 s)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
54/9b/c7739a7d936cc037c662593c13b1
Default Alt Text
GetBlockErrorMessageKeyHook.php (677 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment