Manual:Hooks/SkinGetPoweredBy
Appearance
This feature was removed completely in version 1.39.0 (after being deprecated in 1.37.0). |
SkinGetPoweredBy | |
---|---|
Available from version 1.17.0 Removed in version 1.39.0 (Gerrit change 803516) Called when generating the code used to display the "Powered by MediaWiki" icon. | |
Define function: | public static function onSkinGetPoweredBy( &$text, $skin ) { ... }
|
Attach hook: | In extension.json:
{
"Hooks": {
"SkinGetPoweredBy": "MediaWiki\\Extension\\MyExtension\\Hooks::onSkinGetPoweredBy"
}
}
|
Called from: | File(s): Skin.php |
Interface: | SkinGetPoweredByHook.php |
For more information about attaching hooks, see Manual:Hooks .
For examples of extensions using this hook, see Category:SkinGetPoweredBy extensions.
Details
[edit]- &$text: additional 'powered by' icons in HTML.
- $skin: Skin object
Note: Modern skin does not use the MediaWiki icon but plain text instead