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 SERVICE_FEATURE_MANAGER = 'Vector.FeatureManager'
 
const CONFIG_KEY_DEFAULT_SKIN_VERSION_FOR_NEW_ACCOUNTS
 
const CONFIG_KEY_DEFAULT_SIDEBAR_VISIBLE_FOR_AUTHORISED_USER
 
const CONFIG_KEY_DEFAULT_SIDEBAR_VISIBLE_FOR_ANONYMOUS_USER
 
const PREF_KEY_SKIN = 'skin'
 
const PREF_KEY_SIDEBAR_VISIBLE = 'VectorSidebarVisible'
 
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_DISABLE_SIDEBAR_PERSISTENCE = 'VectorDisableSidebarPersistence'
 
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 REQUIREMENT_LANGUAGE_ALERT_IN_SIDEBAR = 'LanguageAlertInSidebar'
 
const CONFIG_LANGUAGE_ALERT_IN_SIDEBAR = 'VectorLanguageAlertInSidebar'
 
const FEATURE_LANGUAGE_ALERT_IN_SIDEBAR = 'LanguageAlertInSidebar'
 
const WEB_AB_TEST_ARTICLE_ID_FACTORY_SERVICE = 'WikimediaEvents.WebABTestArticleIdFactory'
 
const CONFIG_PAGE_TOOLS = 'VectorPageTools'
 
const REQUIREMENT_PAGE_TOOLS = 'PageTools'
 
const FEATURE_PAGE_TOOLS = 'PageTools'
 
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
 

Member Data Documentation

◆ CONFIG_KEY_DEFAULT_SIDEBAR_VISIBLE_FOR_ANONYMOUS_USER

const MediaWiki\Skins\Vector\Constants::CONFIG_KEY_DEFAULT_SIDEBAR_VISIBLE_FOR_ANONYMOUS_USER
Initial value:
=
'VectorDefaultSidebarVisibleForAnonymousUser'

◆ CONFIG_KEY_DEFAULT_SIDEBAR_VISIBLE_FOR_AUTHORISED_USER

const MediaWiki\Skins\Vector\Constants::CONFIG_KEY_DEFAULT_SIDEBAR_VISIBLE_FOR_AUTHORISED_USER
Initial value:
=
'VectorDefaultSidebarVisibleForAuthorisedUser'

◆ CONFIG_KEY_DEFAULT_SKIN_VERSION_FOR_NEW_ACCOUNTS

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

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