|
MediaWiki master
|
This is a hook handler interface, see docs/Hooks.md. More...
Inherited by MediaWiki\HookContainer\HookRunner.
Public Member Functions | |
| onSkinTemplateNavigation__Universal ( $sktemplate, &$links) | |
| This hook is called on both content and special pages after variants have been added. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "SkinTemplateNavigation::Universal" to register handlers implementing this interface.
Definition at line 15 of file SkinTemplateNavigation__UniversalHook.php.
| MediaWiki\Skin\Hook\SkinTemplateNavigation__UniversalHook::onSkinTemplateNavigation__Universal | ( | $sktemplate, | |
| & | $links ) |
This hook is called on both content and special pages after variants have been added.
| SkinTemplate | $sktemplate | |
| array | &$links | Structured navigation links. This is used to alter the navigation for skins which use buildNavigationUrls such as Vector. Since 1.47, the keys 'footer-info', 'footer-places' and 'footer-icons' are available for modifying footer menus (T318376). Items should use the format ‘[ 'id’ => 'footer-<section>-<key>', 'html' => '...' ]` matching the structure used by SkinAddFooterLinks. |
Implemented in MediaWiki\HookContainer\HookRunner.