|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
| onTitleGetEditNotices ( $title, $oldid, &$notices) | |
| Use this hook to add edit notices. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "TitleGetEditNotices" to register handlers implementing this interface.
Definition at line 14 of file TitleGetEditNoticesHook.php.
| MediaWiki\Hook\TitleGetEditNoticesHook::onTitleGetEditNotices | ( | $title, | |
| $oldid, | |||
| & | $notices ) |
Use this hook to add edit notices.
| Title | $title | Title object for the page the edit notices are for |
| int | $oldid | Revision ID that the edit notices are for (or 0 for latest) |
| array | &$notices | Array of notices. Keys are i18n message keys, values are parseAsBlock()ed messages. |
Implemented in MediaWiki\HookContainer\HookRunner.