Jump to: navigation, search
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, $skin ) { ... }
Attach hook:
$wgHooks['SiteNoticeAfter'][] = 'MyExtensionHooks::onSiteNoticeAfter';
Called from: File(s): Skin.php

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

Details[edit | edit source]

  • $siteNotice: String with HTML for sitenotice.
  • $skin: Skin object MW 1.18+