Vector
Vector is a skin for MediaWiki. Vector has been the default skin on all Wikimedia wikis since 2010.
SkinVector Class Reference
+ Inheritance diagram for SkinVector:
+ Collaboration diagram for SkinVector:

Public Member Functions

 __construct ( $options=[])
 Overrides template, styles and scripts module when skin operates in legacy mode. More...
 
 getTemplateData ()
 @inheritDoc
 
 isResponsive ()
 @inheritDoc
 

Protected Member Functions

 runOnSkinTemplateNavigationHooks (SkinTemplate $skin, &$content_navigation)
 @inheritDoc
 
 getPortletData ( $label, array $urls=[])
 @inheritDoc More...
 

Constructor & Destructor Documentation

◆ __construct()

SkinVector::__construct (   $options = [])

Overrides template, styles and scripts module when skin operates in legacy mode.

@inheritDoc

Parameters
array | null$optionsNote; this param is only optional for internal purpose. Do not instantiate Vector, use SkinFactory to create the object instead. If you absolutely must to, this paramater is required; you have to provide the skinname with the name key. That's do it with ‘new SkinVector( ['name’ => 'vector'] )`. Failure to do that, will lead to fatal exception.

Member Function Documentation

◆ getPortletData()

SkinVector::getPortletData (   $label,
array  $urls = [] 
)
protected

@inheritDoc

Returns
array

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