Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F33791
TitleGetEditNoticesHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
794 B
Referenced Files
None
Subscribers
None
TitleGetEditNoticesHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
use
MediaWiki\Title\Title
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "TitleGetEditNotices" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
TitleGetEditNoticesHook
{
/**
* Use this hook to add edit notices.
*
* @since 1.35
*
* @param Title $title Title object for the page the edit notices are for
* @param int $oldid Revision ID that the edit notices are for (or 0 for latest)
* @param array &$notices Array of notices. Keys are i18n message keys, values are
* parseAsBlock()ed messages.
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onTitleGetEditNotices
(
$title
,
$oldid
,
&
$notices
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Thu, Dec 18, 09:50 (9 h, 27 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4f/91/7aac9106340f13b7a15b3c63c2ee
Default Alt Text
TitleGetEditNoticesHook.php (794 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment