Page MenuHomeWickedGov Phorge

TitleGetEditNoticesHook.php
No OneTemporary

Size
794 B
Referenced Files
None
Subscribers
None

TitleGetEditNoticesHook.php

<?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

Mime Type
text/x-php
Expires
Thu, Dec 18, 09:50 (1 h, 51 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
4f/91/7aac9106340f13b7a15b3c63c2ee
Default Alt Text
TitleGetEditNoticesHook.php (794 B)

Event Timeline