Vector
Vector is a skin for MediaWiki. Vector has been the default skin on all Wikimedia wikis since 2010.
Loading...
Searching...
No Matches
MediaWiki\Skins\Vector\Constants Class Reference

Public Attributes

const SKIN_NAME_MODERN = 'vector-2022'
 
const SKIN_NAME_LEGACY = 'vector'
 
const SKIN_VERSION_LEGACY = '1'
 
const SKIN_VERSION_LATEST = '2'
 
const CONFIG_KEY_DEFAULT_SKIN_VERSION_FOR_NEW_ACCOUNTS
 
const PREF_KEY_SKIN = 'skin'
 
const CONFIG_KEY_FULLY_INITIALISED = 'FullyInitialised'
 
const REQUIREMENT_FULLY_INITIALISED = 'FullyInitialised'
 
const REQUIREMENT_LOGGED_IN = 'LoggedIn'
 
const FEATURE_LANGUAGE_IN_HEADER = 'LanguageInHeader'
 
const CONFIG_KEY_LANGUAGE_IN_HEADER = 'VectorLanguageInHeader'
 
const REQUIREMENT_LANGUAGE_IN_HEADER = 'LanguageInHeader'
 
const CONFIG_STICKY_HEADER = 'VectorStickyHeader'
 
const REQUIREMENT_STICKY_HEADER = 'StickyHeader'
 
const FEATURE_STICKY_HEADER = 'StickyHeader'
 
const CONFIG_WEB_AB_TEST_ENROLLMENT = 'VectorWebABTestEnrollment'
 
const SEARCH_BOX_INPUT_LOCATION_MOVED = 'header-moved'
 
const SEARCH_BOX_INPUT_LOCATION_DEFAULT = 'header-navigation'
 
const REQUIREMENT_IS_MAIN_PAGE = 'IsMainPage'
 
const REQUIREMENT_LANGUAGE_IN_MAIN_PAGE_HEADER = 'LanguageInMainPageHeader'
 
const CONFIG_LANGUAGE_IN_MAIN_PAGE_HEADER = 'VectorLanguageInMainPageHeader'
 
const FEATURE_LANGUAGE_IN_MAIN_PAGE_HEADER = 'LanguageInMainPageHeader'
 
const WEB_AB_TEST_ARTICLE_ID_FACTORY_SERVICE = 'WikimediaEvents.WebABTestArticleIdFactory'
 
const FEATURE_PAGE_TOOLS_PINNED = 'PageToolsPinned'
 
const REQUIREMENT_PAGE_TOOLS_PINNED = 'PageToolsPinned'
 
const PREF_KEY_PAGE_TOOLS_PINNED = 'vector-page-tools-pinned'
 
const REQUIREMENT_TOC_PINNED = 'TOCPinned'
 
const PREF_KEY_TOC_PINNED = 'vector-toc-pinned'
 
const FEATURE_TOC_PINNED = 'TOCPinned'
 
const FEATURE_MAIN_MENU_PINNED = 'MainMenuPinned'
 
const REQUIREMENT_MAIN_MENU_PINNED = 'MainMenuPinned'
 
const PREF_KEY_MAIN_MENU_PINNED = 'vector-main-menu-pinned'
 
const FEATURE_LIMITED_WIDTH = 'LimitedWidth'
 
const REQUIREMENT_LIMITED_WIDTH = 'LimitedWidth'
 
const PREF_KEY_LIMITED_WIDTH = 'vector-limited-width'
 
const FEATURE_LIMITED_WIDTH_CONTENT = 'LimitedWidthContent'
 
const REQUIREMENT_LIMITED_WIDTH_CONTENT = 'LimitedWidthContent'
 
const CONFIG_DEFAULT_LIMITED_WIDTH = 1
 
const PREF_KEY_FONT_SIZE = 'vector-font-size'
 
const FEATURE_FONT_SIZE = 'CustomFontSize'
 
const REQUIREMENT_FONT_SIZE = 'CustomFontSize'
 
const FEATURE_APPEARANCE_PINNED = 'AppearancePinned'
 
const REQUIREMENT_APPEARANCE_PINNED = 'AppearancePinned'
 
const PREF_KEY_APPEARANCE_PINNED = 'vector-appearance-pinned'
 
const CONFIG_KEY_NIGHT_MODE = 'VectorNightMode'
 
const FEATURE_NIGHT_MODE = 'NightMode'
 
const REQUIREMENT_NIGHT_MODE = 'NightMode'
 
const PREF_KEY_NIGHT_MODE = 'vector-theme'
 
const REQUIREMENT_PREF_NIGHT_MODE = 'PrefNightMode'
 
const PREF_NIGHT_MODE = 'PrefNightMode'
 
const VECTOR_2022_BETA_KEY = 'vector-2022-beta-feature'
 
const VECTOR_BETA_FEATURES
 

Member Data Documentation

◆ CONFIG_KEY_DEFAULT_SKIN_VERSION_FOR_NEW_ACCOUNTS

const MediaWiki\Skins\Vector\Constants::CONFIG_KEY_DEFAULT_SKIN_VERSION_FOR_NEW_ACCOUNTS
Initial value:
=
'VectorDefaultSkinVersionForNewAccounts'

◆ VECTOR_BETA_FEATURES

const MediaWiki\Skins\Vector\Constants::VECTOR_BETA_FEATURES
Initial value:
= [
self::CONFIG_KEY_NIGHT_MODE,
]

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