Manual:Hooks/SkinAfterBottomScripts

From MediaWiki.org

Jump to: navigation, search
SkinAfterBottomScripts
Available from version 1.11.0
At the end of Skin::bottomScripts()

*Define function:
function fnMyHook($skin, &$text) { ... }

*Attach hook:
$wgHooks['SkinAfterBottomScripts'][] = 'fnMyHook';
Called from: Skin.php

*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:SkinAfterBottomScripts extensions.


[edit] Details

  • $skin: Skin object
  • &$text: bottomScripts Text. Append to $text to add additional text/scripts after the stock bottom scripts.
Personal tools