Hooks

From Tweeki
Revision as of 07:00, 5 April 2016 by Thai (talk | contribs)
Jump to: navigation, search

SkinTweekiStyleModules

works similar to SkinVectorStyleModules

public static function onSkinTweekiStyleModules( $skinTweeki, &$styles ) { ... }
$wgHooks['SkinTweekiStyleModules'][] = 'MyExtensionHooks::onSkinTweekiStyleModules';

SkinTweekiAdditionalBodyClasses

public static function onSkinTweekiAdditionalBodyClasses( $skinTweeki, &$styles ) { ... }
$wgHooks['SkinTweekiAdditionalBodyClasses'][] = 'MyExtensionHooks::onSkinTweekiAdditionalBodyClasses';