Manual:Hooks/SkinTemplateBuildContentActionUrlsAfterSpecialPage

From MediaWiki.org

Jump to: navigation, search
SkinTemplateBuildContentActionUrlsAfterSpecialPage
Available from version 1.6.0
After the single tab when showing a special page

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

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

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


[edit] Details

  • $sktemplate: SkinTemplate object
  • $content_actions: array of tabs