MediaWiki REL1_35
MediaWiki\Hook\TitleGetEditNoticesHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\TitleGetEditNoticesHook:

Public Member Functions

 onTitleGetEditNotices ( $title, $oldid, &$notices)
 Use this hook to add edit notices.
 

Detailed Description

Stable to implement.

Definition at line 11 of file TitleGetEditNoticesHook.php.

Member Function Documentation

◆ onTitleGetEditNotices()

MediaWiki\Hook\TitleGetEditNoticesHook::onTitleGetEditNotices (   $title,
  $oldid,
$notices 
)

Use this hook to add edit notices.

Since
1.35
Parameters
Title$titleTitle object for the page the edit notices are for
int$oldidRevision ID that the edit notices are for (or 0 for latest)
array&$noticesArray of notices. Keys are i18n message keys, values are parseAsBlock()ed messages.
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: