MediaWiki REL1_35
MediaWiki\Hook\SkinAddFooterLinksHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\SkinAddFooterLinksHook:

Public Member Functions

 onSkinAddFooterLinks (Skin $skin, string $key, array &$footerItems)
 This hook is called when generating the code used to display the footer.
 

Detailed Description

Stable to implement.

Definition at line 11 of file SkinAddFooterLinksHook.php.

Member Function Documentation

◆ onSkinAddFooterLinks()

MediaWiki\Hook\SkinAddFooterLinksHook::onSkinAddFooterLinks ( Skin  $skin,
string  $key,
array &  $footerItems 
)

This hook is called when generating the code used to display the footer.

Skins

Since
1.35
Parameters
Skin$skin
string$keythe current key for the current group (row) of footer links. e.g. info or places.
array&$footerItemsan empty array that can be populated with new links. keys should be strings and will be used for generating the ID of the footer item and value should be an HTML string.
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: