|
| isResponsive () |
| @inheritDoc
|
|
| getHtmlElementAttributes () |
| @inheritDoc
|
|
| getTemplateData () |
|
|
| runOnSkinTemplateNavigationHooks (SkinTemplate $skin, &$content_navigation) |
| @inheritDoc
|
|
| isLanguagesInContentAt (string $location) |
|
| isLanguagesInContent () |
| Whether or not the languages are out of the sidebar and in the content either at the top or the bottom.
|
|
| getLanguagesCached () |
| Calls getLanguages with caching.
|
|
| isULSExtensionEnabled () |
| Check whether ULS is enabled.
|
|
| shouldHideLanguages () |
| Show the ULS button if it's modern Vector, languages in header is enabled, and the ULS extension is enabled.
|
|
| getULSLabels () |
| Get the ULS button label, accounting for the number of available languages.
|
|
◆ getLanguagesCached()
MediaWiki\Skins\Vector\SkinVector22::getLanguagesCached |
( |
| ) |
|
|
protected |
Calls getLanguages with caching.
- Returns
- array
◆ getTemplateData()
MediaWiki\Skins\Vector\SkinVector22::getTemplateData |
( |
| ) |
|
◆ getULSLabels()
MediaWiki\Skins\Vector\SkinVector22::getULSLabels |
( |
| ) |
|
|
finalprotected |
Get the ULS button label, accounting for the number of available languages.
- Returns
- array
◆ isLanguagesInContent()
MediaWiki\Skins\Vector\SkinVector22::isLanguagesInContent |
( |
| ) |
|
|
finalprotected |
Whether or not the languages are out of the sidebar and in the content either at the top or the bottom.
- Returns
- bool
◆ isLanguagesInContentAt()
MediaWiki\Skins\Vector\SkinVector22::isLanguagesInContentAt |
( |
string | $location | ) |
|
|
protected |
- Parameters
-
string | $location | Either 'top' or 'bottom' is accepted. |
- Returns
- bool
◆ isULSExtensionEnabled()
MediaWiki\Skins\Vector\SkinVector22::isULSExtensionEnabled |
( |
| ) |
|
|
finalprotected |
Check whether ULS is enabled.
- Returns
- bool
◆ shouldHideLanguages()
MediaWiki\Skins\Vector\SkinVector22::shouldHideLanguages |
( |
| ) |
|
|
protected |
Show the ULS button if it's modern Vector, languages in header is enabled, and the ULS extension is enabled.
Hide it otherwise. There is no point in showing the language button if ULS extension is unavailable as there is no ways to add languages without it.
- Returns
- bool
The documentation for this class was generated from the following file:
- includes/SkinVector22.php