MediaWiki REL1_40
MediaWiki\Hook\SkinTemplateNavigation__SpecialPageHook Interface Reference

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

Inherited by MediaWiki\HookContainer\HookRunner.

Public Member Functions

 onSkinTemplateNavigation__SpecialPage ( $sktemplate, &$links)
 This hook is called on special pages after the special tab is added but before variants have been added.
 

Detailed Description

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

Use the hook name "SkinTemplateNavigation::SpecialPage" to register handlers implementing this interface.

Stability: stable
to implement
Deprecated
since 1.39 Use SkinTemplateNavigation__Universal instead

Definition at line 16 of file SkinTemplateNavigation__SpecialPageHook.php.

Member Function Documentation

◆ onSkinTemplateNavigation__SpecialPage()

MediaWiki\Hook\SkinTemplateNavigation__SpecialPageHook::onSkinTemplateNavigation__SpecialPage ( $sktemplate,
& $links )

This hook is called on special pages after the special tab is added but before variants have been added.

Since
1.35
Parameters
SkinTemplate$sktemplate
array&$linksStructured navigation links. This is used to alter the navigation for skins which use buildNavigationUrls such as Vector.
Returns
void This hook must not abort, it must return no value
Deprecated
since 1.39 Use SkinTemplateNavigation__Universal::onSkinTemplateNavigation__Universal instead

Implemented in MediaWiki\HookContainer\HookRunner.


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