MediaWiki  master
MediaWiki\Hook\SiteNoticeAfterHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\SiteNoticeAfterHook:

Public Member Functions

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

Detailed Description

Stable to implement.

Definition at line 11 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: