Manual:Hooks/SkinGetPoweredBy
From MediaWiki.org
| SkinGetPoweredBy | |
|---|---|
| Available from version 1.17.0 Called when generating the code used to display the "Powered by MediaWiki" icon. |
|
Define function: |
public static function onSkinGetPoweredBy( &$text, $skin ) { ... }
|
Attach hook: |
$wgHooks['SkinGetPoweredBy'][] = 'MyExtensionHooks::onSkinGetPoweredBy'; |
| Called from: | Skin.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:SkinGetPoweredBy extensions.
[edit] Details
- &$text: additional 'powered by' icons in HTML.
- $skin: Skin object
Note: Modern skin does not use the MediaWiki icon but plain text instead