MediaWiki REL1_35
|
Public Member Functions | |
onBaseTemplateToolbox ( $sk, &$toolbox) | |
This hook is called by BaseTemplate when building the $toolbox array and returning it for the skin to output. | |
Definition at line 11 of file BaseTemplateToolboxHook.php.
MediaWiki\Hook\BaseTemplateToolboxHook::onBaseTemplateToolbox | ( | $sk, | |
& | $toolbox | ||
) |
This hook is called by BaseTemplate when building the $toolbox array and returning it for the skin to output.
You can add items to the toolbox while still letting the skin make final decisions on skin-specific markup conventions using this hook.
BaseTemplate | $sk | Base skin template |
array | &$toolbox | Array of toolbox items, see BaseTemplate::getToolbox and BaseTemplate::makeListItem for details on the format of individual items inside of this array |
Implemented in MediaWiki\HookContainer\HookRunner.