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:
public static function onSkinAfterBottomScripts( $skin, &$text ) { ... }

Attach hook:
$wgHooks['SkinAfterBottomScripts'][] = 'MyExtensionHooks::onSkinAfterBottomScripts';
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
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox