Manual:Hooks/SkinTemplateSetupPageCss
From MediaWiki.org
| SkinTemplateSetupPageCss | |
|---|---|
| Available from version 1.6.0 Sets up the CSS for a skin |
|
*Define function: |
function fnMyHook(&$out) { ... }
|
*Attach hook: |
$wgHooks['SkinTemplateSetupPageCss'][] = 'fnMyHook'; |
| Called from: | SkinTemplate.php |
*For more information about attaching hooks, see Manual:Hooks.
*For examples of extensions using this hook, see Category:SkinTemplateSetupPageCss extensions.
[edit] Usage
Hook functions add to the skin's CSS by generating CSS and appending it to $out. They should always return true to avoid interfering with other functions attached to this hook.

