Vector
Vector is a skin for MediaWiki. Vector has been the default skin on all Wikimedia wikis since 2010.
|
VectorComponentMainMenuAction component. More...
Public Member Functions | |
__construct (string $actionName, Skin $skin, array $htmlData, array $headingOptions, string $classes='') | |
getTemplateData () | |
@inheritDoc | |
VectorComponentMainMenuAction component.
MediaWiki\Skins\Vector\Components\VectorComponentMainMenuAction::__construct | ( | string | $actionName, |
Skin | $skin, | ||
array | $htmlData, | ||
array | $headingOptions, | ||
string | $classes = '' ) |
string | $actionName | identifier for the action. Used to add class |
Skin | $skin | |
array | $htmlData | data to make a link or raw html |
array | $headingOptions | optional heading for the html |
string | $classes | extra classes to add to this component |
MediaWiki\Skins\Vector\Components\VectorComponentMainMenuAction::getTemplateData | ( | ) |
@inheritDoc
Implements MediaWiki\Skins\Vector\Components\VectorComponent.