Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5983318
SiteNoticeBeforeHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
760 B
Referenced Files
None
Subscribers
None
SiteNoticeBeforeHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
Skin
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "SiteNoticeBefore" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
SiteNoticeBeforeHook
{
/**
* This hook is called before the sitenotice/anonnotice is composed.
*
* @since 1.35
*
* @param string &$siteNotice HTML returned as the sitenotice
* @param Skin $skin
* @return bool|void True or no return value to continue or false to abort.
* Return true to allow the normal method of notice selection/rendering to work,
* or change the value of $siteNotice and return false to alter it.
*/
public
function
onSiteNoticeBefore
(
&
$siteNotice
,
$skin
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, Oct 3, 22:49 (1 w, 5 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
2a/ee/53b7494dce26d863b324c368775d
Default Alt Text
SiteNoticeBeforeHook.php (760 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment