Merge "mediawiki.api: Remove console warning for legacy token type"
[mediawiki.git] / includes / skins / Hook / SkinAfterBottomScriptsHook.php
blobe8c37ce1323885b6e9dc8e5868235ed622096dd7
1 <?php
3 namespace MediaWiki\Hook;
5 use Skin;
7 /**
8 * This is a hook handler interface, see docs/Hooks.md.
9 * Use the hook name "SkinAfterBottomScripts" to register handlers implementing this interface.
11 * @stable to implement
12 * @ingroup Hooks
14 interface SkinAfterBottomScriptsHook {
15 /**
16 * This hook is called in OutputPage::getBottomScripts() and allows to add extra html at the
17 * end of bottom scripts section
19 * @since 1.35
21 * @param Skin $skin
22 * @param string &$text BottomScripts text. Append to $text to add additional text/scripts after
23 * the stock bottom scripts.
24 * @return bool|void True or no return value to continue or false to abort
26 public function onSkinAfterBottomScripts( $skin, &$text );