Jump to content

Manual:Hooks/SkinTemplateToolboxEnd

From mediawiki.org
SkinTemplateToolboxEnd
Available from version 1.13.0
Removed in version 1.37.0 (Gerrit change 709570)
Called by SkinTemplate skins after toolbox links have been rendered (useful for adding more)
Define function:
public static function onSkinTemplateToolboxEnd( $tpl ) { ... }
Attach hook: In extension.json:
{
	"Hooks": {
		"SkinTemplateToolboxEnd": "MediaWiki\\Extension\\MyExtension\\Hooks::onSkinTemplateToolboxEnd"
	}
}
Called from: File(s):
Interface: SkinTemplateToolboxEndHook.php

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


Can be used for adding items to the toolbox. This hook was deprecated in MW 1.35, and removed in MW 1.37. In its place, you can use either of the following hooks:

Details

[edit]
  • $tpl: template reference