MediaWiki REL1_37
MediaWiki\Hook\SkinGetPoweredByHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\SkinGetPoweredByHook:

Public Member Functions

 onSkinGetPoweredBy (&$text, $skin)
 This hook is called when generating the code used to display the "Powered by MediaWiki" icon.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "SkinGetPoweredBy" to register handlers implementing this interface.

Deprecated:
since 1.37

Definition at line 14 of file SkinGetPoweredByHook.php.

Member Function Documentation

◆ onSkinGetPoweredBy()

MediaWiki\Hook\SkinGetPoweredByHook::onSkinGetPoweredBy ( $text,
  $skin 
)

This hook is called when generating the code used to display the "Powered by MediaWiki" icon.

Since
1.35
Parameters
string&$textAdditional 'powered by' icons in HTML. Note: Modern skin does not use the MediaWiki icon but plain text instead.
Skin$skin
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: