Manual:Hooks/SkinTemplateBuildContentActionUrlsAfterSpecialPage

From MediaWiki.org
Jump to: navigation, search
SkinTemplateBuildContentActionUrlsAfterSpecialPage
Available from version 1.6.0
Removed in version 1.18.0
After the single tab when showing a special page

*Define function:
function fnMyHook( $sktemplate, $content_actions ) { ... }

*Attach hook:
$wgHooks['SkinTemplateBuildContentActionUrlsAfterSpecialPage'][] = 'MyExtensionHooks::someExample';
Called from: SkinTemplate.php

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


'Note: MediaWiki 1.18 now uses the vector style hook for all skins, please see Manual:Hooks/SkinTemplateNavigation::SpecialPage for the vector and 1.18 equivalent of this hook.

[edit] Details

  • $sktemplate: SkinTemplate object
  • $content_actions: array of tabs
Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox