Vector
Vector is a skin for MediaWiki. Vector has been the default skin on all Wikimedia wikis since 2010.
|
VectorComponentTableOfContents component. More...
Public Member Functions | |
__construct (array $tocData, MessageLocalizer $localizer, Config $config, FeatureManager $featureManager) | |
isPinned () | |
getTemplateData () | |
In tableOfContents.js we have tableOfContents::getTableOfContentsSectionsData(), that yields the same result as this function, please make sure to keep them in sync. | |
Public Attributes | |
const | ID = 'vector-toc' |
VectorComponentTableOfContents component.
MediaWiki\Skins\Vector\Components\VectorComponentTableOfContents::__construct | ( | array | $tocData, |
MessageLocalizer | $localizer, | ||
Config | $config, | ||
FeatureManager | $featureManager ) |
array | $tocData | |
MessageLocalizer | $localizer | |
Config | $config | |
FeatureManager | $featureManager |
MediaWiki\Skins\Vector\Components\VectorComponentTableOfContents::getTemplateData | ( | ) |
In tableOfContents.js we have tableOfContents::getTableOfContentsSectionsData(), that yields the same result as this function, please make sure to keep them in sync.
@inheritDoc
Implements MediaWiki\Skins\Vector\Components\VectorComponent.
MediaWiki\Skins\Vector\Components\VectorComponentTableOfContents::isPinned | ( | ) |