Vector
Vector is a skin for MediaWiki. Vector has been the default skin on all Wikimedia wikis since 2010.
Loading...
Searching...
No Matches
MediaWiki\Skins\Vector\Components\VectorComponentLink Class Reference

VectorComponentLink component. More...

+ Inheritance diagram for MediaWiki\Skins\Vector\Components\VectorComponentLink:
+ Collaboration diagram for MediaWiki\Skins\Vector\Components\VectorComponentLink:

Public Member Functions

 __construct (string $href, string $text, $icon=null, $localizer=null, $accessKeyHint=null)
 
 getTemplateData ()
 @inheritDoc
 

Detailed Description

VectorComponentLink component.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Skins\Vector\Components\VectorComponentLink::__construct ( string $href,
string $text,
$icon = null,
$localizer = null,
$accessKeyHint = null )
Parameters
string$href
string$text
null | string$icon
null | MessageLocalizer$localizerfor generation of tooltip and access keys
null | string$accessKeyHintwill be used to derive HTML attributes such as title, accesskey and aria-label ("$accessKeyHint-label")

Member Function Documentation

◆ getTemplateData()

MediaWiki\Skins\Vector\Components\VectorComponentLink::getTemplateData ( )

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