Manual:SkinModule.php
Appearance
MediaWiki file: SkinModule.php | |
---|---|
Location: | includes/ResourceLoader/ |
Source code: | master • 1.42.4 • 1.41.5 • 1.39.11 |
Classes: | MediaWiki\ResourceLoader\SkinModule |
Module for skin stylesheets. Every skin should define which features it would like to reuse for core inside a ResourceLoader module that has set the class to SkinModule. Extends LessVarFileModule.
Public methods
[edit]- getStyleFiles() - get styles defined in the module definition, plus any enabled feature styles.
- getStyles()
- getPreloadLinks()
- getAvailableLogos() - (static) return an array of all available logos that a skin may use.
- isKnownEmpty()
- getDefinitionSummary()