< Manual:Hooks
![]() | 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 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": "MyExtensionHooks::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
- $tpl: template reference
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.