MediaWiki  master
MediaWiki\Hook\SkinTemplatePreventOtherActiveTabsHook Interface Reference

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

Inheritance diagram for MediaWiki\Hook\SkinTemplatePreventOtherActiveTabsHook:

Public Member Functions

 onSkinTemplatePreventOtherActiveTabs ( $sktemplate, &$res)
 Use this hook to prevent showing active tabs. More...
 

Detailed Description

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

Use the hook name "SkinTemplatePreventOtherActiveTabs" to register handlers implementing this interface.

Deprecated:
since 1.35 Use SkinTemplateNavigation__Universal instead

Definition at line 14 of file SkinTemplatePreventOtherActiveTabsHook.php.

Member Function Documentation

◆ onSkinTemplatePreventOtherActiveTabs()

MediaWiki\Hook\SkinTemplatePreventOtherActiveTabsHook::onSkinTemplatePreventOtherActiveTabs (   $sktemplate,
$res 
)

Use this hook to prevent showing active tabs.

Since
1.35
Parameters
SkinTemplate$sktemplate
bool&$resSet to true to prevent active tabs
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: