Manual:Hooks/SkinTemplateToolboxEnd
Appearance
This feature was removed from MediaWiki core in version 1.37.0 (after being deprecated in 1.35.0). Please see SidebarBeforeOutput for an alternative way to use this feature. |
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:
- SkinBuildSidebar - respects caching; only called when a page is recreated
- SidebarBeforeOutput - ignores caching; called on every page load
Details
[edit]- $tpl: template reference