MediaWiki master
MediaWiki\Hook\SkinAfterBottomScriptsHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onSkinAfterBottomScripts ( $skin, &$text)
 This hook is called in OutputPage::getBottomScripts() and allows to add extra html at the end of bottom scripts section.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "SkinAfterBottomScripts" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 14 of file SkinAfterBottomScriptsHook.php.

Member Function Documentation

◆ onSkinAfterBottomScripts()

MediaWiki\Hook\SkinAfterBottomScriptsHook::onSkinAfterBottomScripts ( $skin,
& $text )

This hook is called in OutputPage::getBottomScripts() and allows to add extra html at the end of bottom scripts section.

Since
1.35
Parameters
Skin$skin
string&$textBottomScripts text. Append to $text to add additional text/scripts after the stock bottom scripts.
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: