Manual:Hooks/SkinTemplateBuildContentActionUrlsAfterSpecialPage
This feature was removed from MediaWiki core in version 1.18.0. Please see SkinTemplateNavigation::Universal for an alternative way to use this feature. |
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": "MediaWiki\\Extension\\MyExtension\\Hooks::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