Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4147595
BeforeDisplayOrangeAlertHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
575 B
Referenced Files
None
Subscribers
None
BeforeDisplayOrangeAlertHook.php
View Options
<?php
namespace
MediaWiki\Extension\Notifications\Hooks
;
use
MediaWiki\Title\Title
;
use
MediaWiki\User\User
;
/**
* This is a hook handler interface, see docs/Hooks.md in core.
* Use the hook name "BeforeDisplayOrangeAlert" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
BeforeDisplayOrangeAlertHook
{
/**
* @param User $user
* @param Title $title
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onBeforeDisplayOrangeAlert
(
User
$user
,
Title
$title
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 19 2026, 18:28 (6 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
f8/cf/4a3fa9f249a2a509808083bc323e
Default Alt Text
BeforeDisplayOrangeAlertHook.php (575 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment