MediaWiki REL1_39
MediaWiki\Hook\SiteNoticeAfterHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\SiteNoticeAfterHook:

Public Member Functions

 onSiteNoticeAfter (&$siteNotice, $skin)
 This hook is called after the sitenotice/anonnotice is composed.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "SiteNoticeAfter" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file SiteNoticeAfterHook.php.

Member Function Documentation

◆ onSiteNoticeAfter()

MediaWiki\Hook\SiteNoticeAfterHook::onSiteNoticeAfter ( & $siteNotice,
$skin )

This hook is called after the sitenotice/anonnotice is composed.

Since
1.35
Parameters
string&$siteNoticeHTML sitenotice. Alter the contents of $siteNotice to add to/alter the sitenotice/anonnotice.
Skin$skin
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: