Manual:Hooks/SkinTemplateNavigation::Universal

From MediaWiki.org
Jump to: navigation, search
SkinTemplateNavigation::Universal
Available from version 1.18.0 (r79358)
Called on both content and special pages after variants have been added
Define function:
public static function onSkinTemplateNavigation_Universal( &$sktemplate, &$links ) { ... }
Attach hook:
$wgHooks['SkinTemplateNavigation::Universal'][] = 'MyExtensionHooks::onSkinTemplateNavigation_Universal';
Called from: File(s): SkinTemplate.php

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

Details[edit]

  • &$sktemplate: SkinTemplate object
  • &$links: Structured array of navigation links

See also[edit]