MediaWiki REL1_35
MediaWiki\Hook\SkinTemplateNavigationHook Interface Reference

Stable to implement. More...

Inheritance diagram for MediaWiki\Hook\SkinTemplateNavigationHook:

Public Member Functions

 onSkinTemplateNavigation ( $sktemplate, &$links)
 This hook is called on content pages after the tabs have been added, but before variants have been added.
 

Detailed Description

Stable to implement.

Definition at line 11 of file SkinTemplateNavigationHook.php.

Member Function Documentation

◆ onSkinTemplateNavigation()

MediaWiki\Hook\SkinTemplateNavigationHook::onSkinTemplateNavigation (   $sktemplate,
$links 
)

This hook is called on content pages after the tabs have been 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

Implemented in MediaWiki\HookContainer\HookRunner.


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