MediaWiki REL1_35
MediaWiki\Hook\SkinTemplateToolboxEndHook Interface Reference
Inheritance diagram for MediaWiki\Hook\SkinTemplateToolboxEndHook:

Public Member Functions

 onSkinTemplateToolboxEnd ( $sk, $dummy)
 This hook is called by SkinTemplate skins after toolbox links have been rendered (useful for adding more).
 

Detailed Description

Deprecated:
since 1.35

Definition at line 11 of file SkinTemplateToolboxEndHook.php.

Member Function Documentation

◆ onSkinTemplateToolboxEnd()

MediaWiki\Hook\SkinTemplateToolboxEndHook::onSkinTemplateToolboxEnd (   $sk,
  $dummy 
)

This hook is called by SkinTemplate skins after toolbox links have been rendered (useful for adding more).

Since
1.35
Parameters
QuickTemplate$skQuickTemplate based skin template running the hook
bool$dummyCalled when SkinTemplateToolboxEnd is used from a BaseTemplate skin, extensions that add support for BaseTemplateToolbox should watch for this dummy parameter with "$dummy=false" in their code and return without echoing any HTML to avoid creating duplicate toolbox items.
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: