|
| isLegacy () |
|
| getLanguagesCached () |
| Calls getLanguages with caching.
|
|
| isLanguagesInContentAt ( $location) |
|
| shouldHideLanguages () |
| Show the ULS button if it's modern Vector, languages in header is enabled, and the ULS extension is enabled.
|
|
| runOnSkinTemplateNavigationHooks (SkinTemplate $skin, &$content_navigation) |
| @inheritDoc
|
|
| getStickyHeaderData ( $searchBoxData, $includeEditIcons) |
| Generate data needed to generate the sticky header.
|
|
| getSearchData (array $searchBoxData, bool $isCollapsible, bool $isPrimary, string $formId, bool $autoExpandWidth) |
| Annotates search box with Vector-specific information.
|
|
◆ getLanguagesCached()
MediaWiki\Skins\Vector\SkinVector::getLanguagesCached |
( |
| ) |
|
|
protected |
Calls getLanguages with caching.
- Returns
- array
◆ getSearchData()
MediaWiki\Skins\Vector\SkinVector::getSearchData |
( |
array | $searchBoxData, |
|
|
bool | $isCollapsible, |
|
|
bool | $isPrimary, |
|
|
string | $formId, |
|
|
bool | $autoExpandWidth ) |
|
finalprotected |
Annotates search box with Vector-specific information.
- Parameters
-
array | $searchBoxData | |
bool | $isCollapsible | |
bool | $isPrimary | |
string | $formId | |
bool | $autoExpandWidth | |
- Returns
- array modified version of $searchBoxData
◆ getStickyHeaderData()
MediaWiki\Skins\Vector\SkinVector::getStickyHeaderData |
( |
| $searchBoxData, |
|
|
| $includeEditIcons ) |
|
finalprotected |
Generate data needed to generate the sticky header.
- Parameters
-
array | $searchBoxData | |
bool | $includeEditIcons | |
- Returns
- array
◆ getTemplateData()
MediaWiki\Skins\Vector\SkinVector::getTemplateData |
( |
| ) |
|
◆ isLanguagesInContentAt()
MediaWiki\Skins\Vector\SkinVector::isLanguagesInContentAt |
( |
| $location | ) |
|
|
protected |
◆ isLegacy()
MediaWiki\Skins\Vector\SkinVector::isLegacy |
( |
| ) |
|
|
abstractprotected |
◆ shouldHideLanguages()
MediaWiki\Skins\Vector\SkinVector::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: