Manual:Hooks/SkinTemplateBuildContentActionUrlsAfterSpecialPage

From mediawiki.org
Jump to navigation Jump to 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:
public static function onSkinTemplateBuildContentActionUrlsAfterSpecialPage( $sktemplate, $content_actions ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"SkinTemplateBuildContentActionUrlsAfterSpecialPage": "MyExtensionHooks::onSkinTemplateBuildContentActionUrlsAfterSpecialPage"
	}
}
Called from: File(s): SkinTemplate.php
Interface: SkinTemplateBuildContentActionUrlsAfterSpecialPageHook.php

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

Details[edit]

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