MediaWiki REL1_35
MediaWiki\Hook\SkinTemplateTabActionHook Interface Reference
Inheritance diagram for MediaWiki\Hook\SkinTemplateTabActionHook:

Public Member Functions

 onSkinTemplateTabAction ( $sktemplate, $title, $message, $selected, $checkEdit, &$classes, &$query, &$text, &$result)
 Use this hook to override SkinTemplate::tabAction().
 

Detailed Description

Deprecated:
since 1.35 Use SkinTemplateNavigation__Universal instead

Definition at line 12 of file SkinTemplateTabActionHook.php.

Member Function Documentation

◆ onSkinTemplateTabAction()

MediaWiki\Hook\SkinTemplateTabActionHook::onSkinTemplateTabAction (   $sktemplate,
  $title,
  $message,
  $selected,
  $checkEdit,
$classes,
$query,
$text,
$result 
)

Use this hook to override SkinTemplate::tabAction().

You can either create your own array, or alter the parameters for the normal one.

Since
1.35
Parameters
SkinTemplate$sktemplate
Title$title
string$messageVisible label of tab
bool$selectedWhether this is a selected tab
bool$checkEditWhether or not the action=edit query should be added if appropriate
string[]&$classesArray of CSS classes to apply
string&$queryQuery string to add to link
string&$textLink text
array&$resultComplete associative array if you want to return true
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: