3 namespace MediaWiki\Hook
;
8 * This is a hook handler interface, see docs/Hooks.md.
9 * Use the hook name "SkinAddFooterLinks" to register handlers implementing this interface.
11 * @stable to implement
14 interface SkinAddFooterLinksHook
{
16 * This hook is called when generating the code used to display the
22 * @param string $key the current key for the current group (row) of footer links.
23 * e.g. `info` or `places`.
24 * @param array &$footerItems an empty array that can be populated with new links.
25 * keys should be strings and will be used for generating the ID of the footer item
26 * and value should be an HTML string.
27 * @return bool|void True or no return value to continue or false to abort
29 public function onSkinAddFooterLinks( Skin
$skin, string $key, array &$footerItems );