Manual:Hooks/SiteNoticeAfter

From MediaWiki.org
Jump to: navigation, search
SiteNoticeAfter
Available from version 1.7.0
Used to modify the site notice after it has been created from $wgSiteNotice

Define function:
public static function onSiteNoticeAfter( &$siteNotice ) { ... }

Attach hook:
$wgHooks['SiteNoticeAfter'][] = 'MyExtensionHooks::onSiteNoticeAfter';
Called from: Skin.php

For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:SiteNoticeAfter extensions.


[edit] Details

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox