mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-11 15:37:50 +00:00
8e134155b5
It's now provided by elements thus not needed. Depends-On: I404710209d59241991716bb7180bcaabcafffcec Change-Id: I6c18607b132c93513c0fbe8034c14e98d4091770
744 lines
22 KiB
JSON
744 lines
22 KiB
JSON
{
|
|
"name": "Vector",
|
|
"version": "1.0.0",
|
|
"author": [
|
|
"[https://www.mediawiki.org/wiki/Readers/Web/Team Readers Web Team]",
|
|
"Trevor Parscal",
|
|
"Roan Kattouw",
|
|
"Alex Hollender",
|
|
"Bernard Wang",
|
|
"Clare Ming",
|
|
"Jan Drewniak",
|
|
"Jon Robson",
|
|
"Nick Ray",
|
|
"Sam Smith",
|
|
"Stephen Niedzielski",
|
|
"Volker E."
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Skin:Vector",
|
|
"descriptionmsg": "vector-skin-desc",
|
|
"namemsg": "vector-specialversion-name",
|
|
"license-name": "GPL-2.0-or-later",
|
|
"type": "skin",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.42.0"
|
|
},
|
|
"attributes": {
|
|
"DarkMode": {
|
|
"Disabled": [
|
|
"vector-2022"
|
|
]
|
|
}
|
|
},
|
|
"ValidSkinNames": {
|
|
"vector-2022": {
|
|
"class": "MediaWiki\\Skins\\Vector\\SkinVector22",
|
|
"services": [
|
|
"LanguageConverterFactory",
|
|
"Vector.FeatureManagerFactory"
|
|
],
|
|
"args": [
|
|
{
|
|
"name": "vector-2022",
|
|
"supportsMwHeading": true,
|
|
"wrapSiteNotice": true,
|
|
"templateDirectory": "includes/templates",
|
|
"template": "skin",
|
|
"tempUserBanner": true,
|
|
"responsive": true,
|
|
"toc": false,
|
|
"link": {
|
|
"text-wrapper": {
|
|
"tag": "span"
|
|
}
|
|
},
|
|
"bodyClasses": [
|
|
"skin--responsive",
|
|
"skin-vector",
|
|
"skin-vector-search-vue"
|
|
],
|
|
"clientPrefEnabled": true,
|
|
"menus": [
|
|
"user-interface-preferences",
|
|
"user-page",
|
|
"user-menu",
|
|
"notifications",
|
|
"views",
|
|
"actions",
|
|
"variants",
|
|
"associated-pages"
|
|
],
|
|
"scripts": [
|
|
"skins.vector.js"
|
|
],
|
|
"styles": [
|
|
"skins.vector.search.codex.styles",
|
|
"skins.vector.styles",
|
|
"skins.vector.icons"
|
|
],
|
|
"messages": [
|
|
"tooltip-p-logo",
|
|
"vector-opt-out-tooltip",
|
|
"vector-opt-out",
|
|
"vector-action-toggle-sidebar",
|
|
"vector-main-menu-tooltip",
|
|
"vector-jumptosearch",
|
|
"vector-jumptocontent",
|
|
"vector-toc-beginning",
|
|
"vector-toc-label",
|
|
"vector-toc-menu-tooltip",
|
|
"vector-toc-collapsible-button-label",
|
|
"vector-pin-element-label",
|
|
"vector-unpin-element-label",
|
|
"vector-site-nav-label",
|
|
"search",
|
|
"searchbutton",
|
|
"searcharticle",
|
|
"searchsuggest-search",
|
|
"sitesubtitle",
|
|
"sitetitle",
|
|
"tagline",
|
|
"personaltools",
|
|
"namespaces",
|
|
"views",
|
|
"vector-page-tools-nav-label",
|
|
"empty-language-selector-body",
|
|
"vector-appearance-label"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"vector": {
|
|
"class": "MediaWiki\\Skins\\Vector\\SkinVectorLegacy",
|
|
"services": [
|
|
"LanguageConverterFactory"
|
|
],
|
|
"args": [
|
|
{
|
|
"name": "vector",
|
|
"supportsMwHeading": true,
|
|
"wrapSiteNotice": true,
|
|
"template": "skin-legacy",
|
|
"clientPrefEnabled": true,
|
|
"templateDirectory": "includes/templates",
|
|
"responsive": false,
|
|
"link": {
|
|
"text-wrapper": {
|
|
"tag": "span"
|
|
}
|
|
},
|
|
"bodyClasses": [
|
|
"skin-vector-legacy"
|
|
],
|
|
"scripts": [
|
|
"skins.vector.legacy.js"
|
|
],
|
|
"styles": [
|
|
"skins.vector.styles.legacy"
|
|
],
|
|
"messages": [
|
|
"tooltip-p-logo",
|
|
"vector-opt-out-tooltip",
|
|
"vector-opt-out",
|
|
"navigation-heading",
|
|
"vector-action-toggle-sidebar",
|
|
"vector-main-menu-tooltip",
|
|
"vector-jumptonavigation",
|
|
"vector-jumptosearch",
|
|
"vector-jumptocontent",
|
|
"search",
|
|
"searchbutton",
|
|
"searcharticle",
|
|
"searchsuggest-search",
|
|
"sitesubtitle",
|
|
"sitetitle",
|
|
"tagline"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"SkinLessImportPaths": {
|
|
"vector-2022": "resources/mediawiki.less/vector-2022",
|
|
"vector": "resources/mediawiki.less/vector"
|
|
},
|
|
"MessagesDirs": {
|
|
"Vector": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"AutoloadNamespaces": {
|
|
"MediaWiki\\Skins\\Vector\\": "includes/"
|
|
},
|
|
"TestAutoloadNamespaces": {
|
|
"MediaWiki\\Skins\\Vector\\": "includes/",
|
|
"MediaWiki\\Skins\\Vector\\Tests\\": "tests/phpunit/"
|
|
},
|
|
"DefaultUserOptions": {
|
|
"vector-limited-width": 1,
|
|
"vector-page-tools-pinned": 1,
|
|
"vector-main-menu-pinned": 1,
|
|
"vector-toc-pinned": 1,
|
|
"vector-appearance-pinned": 1,
|
|
"vector-font-size": 0,
|
|
"vector-theme": "day"
|
|
},
|
|
"HookHandlers": {
|
|
"VectorCentralAuthHooks": {
|
|
"class": "MediaWiki\\Skins\\Vector\\CentralAuthHooks",
|
|
"services": [
|
|
"UserOptionsLookup"
|
|
]
|
|
},
|
|
"VectorHooks": {
|
|
"class": "MediaWiki\\Skins\\Vector\\Hooks",
|
|
"services": [
|
|
"MainConfig",
|
|
"UserOptionsManager"
|
|
]
|
|
}
|
|
},
|
|
"Hooks": {
|
|
"CentralAuthIsUIReloadRecommended": "VectorCentralAuthHooks",
|
|
"GetPreferences": "VectorHooks",
|
|
"LocalUserCreated": "VectorHooks",
|
|
"SkinPageReadyConfig": "VectorHooks",
|
|
"GetBetaFeaturePreferences": "VectorHooks"
|
|
},
|
|
"@note": "When modifying skins.vector.styles definition, make sure the installer still works",
|
|
"ResourceModules": {
|
|
"skins.vector.search.codex.styles": {
|
|
"class": "MediaWiki\\ResourceLoader\\CodexModule",
|
|
"codexStyleOnly": true,
|
|
"codexComponents": [
|
|
"CdxTypeaheadSearch",
|
|
"CdxSearchInput",
|
|
"CdxButton",
|
|
"CdxRadio",
|
|
"CdxMessage"
|
|
]
|
|
},
|
|
"skins.vector.search.codex.scripts": {
|
|
"dependencies": [
|
|
"skins.vector.search.codex.styles"
|
|
],
|
|
"class": "MediaWiki\\ResourceLoader\\CodexModule",
|
|
"codexScriptOnly": true,
|
|
"codexComponents": [
|
|
"CdxTypeaheadSearch"
|
|
]
|
|
},
|
|
"skins.vector.search": {
|
|
"dependencies": [
|
|
"mediawiki.Uri",
|
|
"mediawiki.util",
|
|
"skins.vector.search.codex.scripts"
|
|
],
|
|
"packageFiles": [
|
|
"resources/skins.vector.search/skins.vector.search.js",
|
|
"resources/skins.vector.search/instrumentation.js",
|
|
"resources/skins.vector.search/fetch.js",
|
|
"resources/skins.vector.search/restSearchClient.js",
|
|
"resources/skins.vector.search/urlGenerator.js",
|
|
"resources/skins.vector.search/App.vue",
|
|
{
|
|
"name": "resources/skins.vector.search/config.json",
|
|
"callback": "MediaWiki\\Skins\\Vector\\Hooks::getVectorSearchResourceLoaderConfig"
|
|
}
|
|
],
|
|
"messages": [
|
|
"searchbutton",
|
|
"searchresults",
|
|
"vector-searchsuggest-containing"
|
|
]
|
|
},
|
|
"skins.vector.styles.legacy": {
|
|
"class": "MediaWiki\\ResourceLoader\\SkinModule",
|
|
"features": {
|
|
"normalize": true,
|
|
"elements": true,
|
|
"logo": true,
|
|
"content-media": true,
|
|
"content-links": true,
|
|
"content-links-external": false,
|
|
"interface": true,
|
|
"interface-message-box": true,
|
|
"interface-category": true,
|
|
"content-tables": true,
|
|
"i18n-ordered-lists": true,
|
|
"i18n-headings": true
|
|
},
|
|
"styles": [
|
|
"resources/skins.vector.styles.legacy/skin-legacy.less"
|
|
]
|
|
},
|
|
"skins.vector.styles": {
|
|
"class": "MediaWiki\\ResourceLoader\\SkinModule",
|
|
"features": {
|
|
"normalize": true,
|
|
"elements": true,
|
|
"content-links": false,
|
|
"content-links-external": false,
|
|
"content-media": true,
|
|
"content-tables": true,
|
|
"interface": false,
|
|
"interface-category": true,
|
|
"interface-edit-section-links": true,
|
|
"interface-indicators": false,
|
|
"interface-message-box": false,
|
|
"interface-site-notice": false,
|
|
"interface-subtitle": false,
|
|
"interface-user-message": true,
|
|
"i18n-ordered-lists": true,
|
|
"i18n-headings": true,
|
|
"toc": false
|
|
},
|
|
"styles": [
|
|
"resources/skins.vector.styles/CSSCustomProperties.less",
|
|
"resources/skins.vector.styles/skin.less"
|
|
],
|
|
"lessMessages": [
|
|
"parentheses-start",
|
|
"parentheses-end",
|
|
"brackets-start",
|
|
"brackets-end"
|
|
]
|
|
},
|
|
"skins.vector.icons.js": {
|
|
"selectorWithVariant": ".vector-icon.mw-ui-icon-wikimedia-{name}-{variant}",
|
|
"selectorWithoutVariant": ".vector-icon.mw-ui-icon-wikimedia-{name}",
|
|
"useDataURI": false,
|
|
"defaultColor": "#000",
|
|
"class": "MediaWiki\\ResourceLoader\\OOUIIconPackModule",
|
|
"variants": {
|
|
"progressive": {
|
|
"color": "#36c",
|
|
"global": true
|
|
}
|
|
},
|
|
"icons": [
|
|
"article",
|
|
"edit",
|
|
"editLock",
|
|
"exitFullscreen",
|
|
"fullScreen",
|
|
"history",
|
|
"speechBubbles",
|
|
"speechBubbleAdd",
|
|
"wikiText",
|
|
"appearance"
|
|
]
|
|
},
|
|
"skins.vector.icons": {
|
|
"selectorWithVariant": ".vector-icon.mw-ui-icon-wikimedia-{name}-{variant}",
|
|
"selectorWithoutVariant": ".vector-icon.mw-ui-icon-wikimedia-{name}",
|
|
"useDataURI": false,
|
|
"defaultColor": "#000",
|
|
"class": "MediaWiki\\ResourceLoader\\OOUIIconPackModule",
|
|
"variants": {
|
|
"progressive": {
|
|
"color": "#36c",
|
|
"global": true
|
|
}
|
|
},
|
|
"icons": [
|
|
"tray",
|
|
"bell",
|
|
"menu",
|
|
"heart",
|
|
"language",
|
|
"ellipsis",
|
|
"userAvatar",
|
|
"userAdd",
|
|
"userTemporary",
|
|
"userTalk",
|
|
"sandbox",
|
|
"search",
|
|
"settings",
|
|
"labFlask",
|
|
"star",
|
|
"halfStar",
|
|
"unStar",
|
|
"watchlist",
|
|
"userContributions",
|
|
"logIn",
|
|
"logOut",
|
|
"imageGallery",
|
|
"userGroup",
|
|
"listBullet",
|
|
"close"
|
|
]
|
|
},
|
|
"skins.vector.clientPreferences": {
|
|
"packageFiles": [
|
|
"resources/skins.vector.clientPreferences/clientPreferences.js"
|
|
],
|
|
"messages": [
|
|
"skin-theme-name",
|
|
"skin-theme-description",
|
|
"skin-theme-day-label",
|
|
"skin-theme-night-label",
|
|
"skin-theme-os-label",
|
|
"skin-theme-exclusion-notice",
|
|
"vector-feature-limited-width-name",
|
|
"vector-feature-limited-width-0-label",
|
|
"vector-feature-limited-width-1-label",
|
|
"vector-feature-limited-width-exclusion-notice",
|
|
"vector-feature-custom-font-size-name",
|
|
"vector-feature-custom-font-size-0-label",
|
|
"vector-feature-custom-font-size-1-label",
|
|
"vector-feature-custom-font-size-2-label",
|
|
"vector-feature-custom-font-size-exclusion-notice",
|
|
"vector-night-mode-issue-reporting-notice-url",
|
|
"vector-night-mode-issue-reporting-preload-title",
|
|
"vector-night-mode-beta-tag",
|
|
"vector-night-mode-issue-reporting-link-notification",
|
|
"vector-night-mode-issue-reporting-link-label"
|
|
],
|
|
"dependencies": [
|
|
"mediawiki.api",
|
|
"mediawiki.user"
|
|
],
|
|
"styles": [
|
|
"resources/skins.vector.clientPreferences/clientPreferences.less"
|
|
]
|
|
},
|
|
"skins.vector.js": {
|
|
"class": "MediaWiki\\ResourceLoader\\SkinModule",
|
|
"features": [
|
|
"interface-message-box"
|
|
],
|
|
"styles": [
|
|
"resources/skins.vector.js/index.less"
|
|
],
|
|
"packageFiles": [
|
|
"resources/skins.vector.js/skin.js",
|
|
"resources/skins.vector.js/legacyMessageBoxStyles.js",
|
|
"resources/skins.vector.js/setupIntersectionObservers.js",
|
|
"resources/skins.vector.js/searchToggle.js",
|
|
"resources/skins.vector.js/stickyHeader.js",
|
|
"resources/skins.vector.js/scrollObserver.js",
|
|
"resources/skins.vector.js/AB.js",
|
|
"resources/skins.vector.js/tableOfContents.js",
|
|
"resources/skins.vector.js/sectionObserver.js",
|
|
"resources/skins.vector.js/deferUntilFrame.js",
|
|
"resources/skins.vector.js/pinnableElement.js",
|
|
"resources/skins.vector.js/userPreferences.js",
|
|
"resources/skins.vector.js/features.js",
|
|
"resources/skins.vector.js/limitedWidthToggle.js",
|
|
"resources/skins.vector.js/popupNotification.js",
|
|
"resources/skins.vector.js/clientPreferences.json",
|
|
{
|
|
"name": "resources/skins.vector.js/activeABTest.json",
|
|
"callback": "MediaWiki\\Skins\\Vector\\Hooks::getActiveABTest"
|
|
},
|
|
{
|
|
"name": "resources/skins.vector.js/config.json",
|
|
"config": [
|
|
"VectorSearchApiUrl",
|
|
"VectorWrapTablesTemporary"
|
|
]
|
|
},
|
|
{
|
|
"name": "resources/skins.vector.js/tableOfContentsConfig.json",
|
|
"config": [
|
|
"VectorTableOfContentsCollapseAtCount"
|
|
]
|
|
},
|
|
{
|
|
"name": "resources/skins.vector.js/templates/TableOfContents__list.mustache",
|
|
"file": "includes/templates/TableOfContents__list.mustache",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "resources/skins.vector.js/templates/TableOfContents__line.mustache",
|
|
"file": "includes/templates/TableOfContents__line.mustache",
|
|
"type": "text"
|
|
},
|
|
"resources/skins.vector.js/watchstar.js",
|
|
"resources/skins.vector.js/portlets.js",
|
|
"resources/skins.vector.js/dropdownMenus.js",
|
|
"resources/skins.vector.js/tables.js",
|
|
"resources/skins.vector.js/languageButton.js",
|
|
"resources/skins.vector.js/echo.js",
|
|
"resources/skins.vector.js/searchLoader.js",
|
|
"resources/skins.vector.js/menuTabs.js",
|
|
"resources/skins.vector.js/disableNightModeIfGadget.js"
|
|
],
|
|
"dependencies": [
|
|
"skins.vector.clientPreferences",
|
|
"mediawiki.user",
|
|
"mediawiki.page.watch.ajax",
|
|
"mediawiki.storage",
|
|
"mediawiki.cookie",
|
|
"mediawiki.experiments",
|
|
"skins.vector.icons.js",
|
|
"mediawiki.util",
|
|
"mediawiki.jqueryMsg"
|
|
],
|
|
"messages": [
|
|
"vector-limited-width-toggle-on-popup",
|
|
"vector-limited-width-toggle-off-popup",
|
|
"vector-search-loader",
|
|
"vector-limited-width-toggle",
|
|
"vector-toc-beginning",
|
|
"vector-toc-label",
|
|
"vector-pin-element-label",
|
|
"vector-unpin-element-label",
|
|
"vector-toc-unpinned-popup",
|
|
"vector-page-tools-unpinned-popup",
|
|
"vector-main-menu-unpinned-popup",
|
|
"vector-appearance-unpinned-popup",
|
|
"vector-night-mode-gadget-names",
|
|
"vector-night-mode-gadget-warning"
|
|
]
|
|
},
|
|
"skins.vector.DarkModeLaunchBanner": {
|
|
"packageFiles": [
|
|
"resources/skins.vector.DarkModeLaunchBanner/DarkModeLaunchBanner.js"
|
|
],
|
|
"styles": [
|
|
"resources/skins.vector.DarkModeLaunchBanner/DarkModeLaunchBanner.less"
|
|
],
|
|
"dependencies": [ "skins.vector.DarkModeLaunchBanner.codexModules" ],
|
|
"messages": [
|
|
"vector-night-mode-launch-title",
|
|
"vector-night-mode-launch-subtitle",
|
|
"vector-night-mode-launch-description-day",
|
|
"vector-night-mode-launch-close-label"
|
|
]
|
|
},
|
|
"skins.vector.DarkModeLaunchBanner.codexModules": {
|
|
"class": "MediaWiki\\ResourceLoader\\CodexModule",
|
|
"codexStyleOnly": true,
|
|
"codexComponents": [
|
|
"CdxDialog"
|
|
]
|
|
},
|
|
"skins.vector.legacy.js": {
|
|
"packageFiles": [
|
|
"resources/skins.vector.legacy.js/skin-legacy.js",
|
|
"resources/skins.vector.legacy.js/portlets.js",
|
|
"resources/skins.vector.legacy.js/collapsibleTabs.js",
|
|
"resources/skins.vector.legacy.js/vector.js"
|
|
],
|
|
"dependencies": [
|
|
"mediawiki.page.ready",
|
|
"mediawiki.util"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "",
|
|
"remoteSkinPath": "Vector"
|
|
},
|
|
"ResourceModuleSkinStyles": {
|
|
"vector-2022": {
|
|
"ext.echo.styles.badge": "skinStyles/ext.echo.styles.badge.less",
|
|
"+ext.echo.styles.alert": "skinStyles/ext.echo.styles.alert.less",
|
|
"+mediawiki.action.edit": "skinStyles/mediawiki.action.edit.less",
|
|
"+mediawiki.action.view.redirectPage": "skinStyles/mediawiki.action.view.redirectPage.less",
|
|
"+mediawiki.notification": "skinStyles/mediawiki.notification.less",
|
|
"+oojs-ui-core.styles": "skinStyles/ooui.less",
|
|
"mediawiki.special.search.interwikiwidget.styles": "skinStyles/mediawiki.special.search.interwikiwidget.less",
|
|
"+ext.relatedArticles.readMore": "skinStyles/ext.relatedArticles.readMore.less",
|
|
"+ext.uls.compactlinks": "skinStyles/ext.uls.compactlinks.less",
|
|
"+ext.uls.interface": "skinStyles/ext.uls.interface.less",
|
|
"+ext.uls.pt": "skinStyles/ext.uls.pt.less",
|
|
"+ext.visualEditor.base": "skinStyles/ext.visualEditor.less",
|
|
"jquery.ui": [
|
|
"skinStyles/jquery.ui/jquery.ui.core.css",
|
|
"skinStyles/jquery.ui/jquery.ui.theme.css",
|
|
"skinStyles/jquery.ui/jquery.ui.accordion.css",
|
|
"skinStyles/jquery.ui/jquery.ui.autocomplete.css",
|
|
"skinStyles/jquery.ui/jquery.ui.button.css",
|
|
"skinStyles/jquery.ui/jquery.ui.datepicker.css",
|
|
"skinStyles/jquery.ui/jquery.ui.dialog.css",
|
|
"skinStyles/jquery.ui/jquery.ui.menu.css",
|
|
"skinStyles/jquery.ui/jquery.ui.progressbar.css",
|
|
"skinStyles/jquery.ui/jquery.ui.resizable.css",
|
|
"skinStyles/jquery.ui/jquery.ui.selectable.css",
|
|
"skinStyles/jquery.ui/jquery.ui.slider.css",
|
|
"skinStyles/jquery.ui/jquery.ui.tabs.css",
|
|
"skinStyles/jquery.ui/jquery.ui.tooltip.css"
|
|
]
|
|
},
|
|
"vector": {
|
|
"ext.echo.styles.badge": "skinStyles/vector/ext.echo.styles.badge.less",
|
|
"jquery.ui": [
|
|
"skinStyles/jquery.ui/jquery.ui.core.css",
|
|
"skinStyles/jquery.ui/jquery.ui.theme.css",
|
|
"skinStyles/jquery.ui/jquery.ui.accordion.css",
|
|
"skinStyles/jquery.ui/jquery.ui.autocomplete.css",
|
|
"skinStyles/jquery.ui/jquery.ui.button.css",
|
|
"skinStyles/jquery.ui/jquery.ui.datepicker.css",
|
|
"skinStyles/jquery.ui/jquery.ui.dialog.css",
|
|
"skinStyles/jquery.ui/jquery.ui.menu.css",
|
|
"skinStyles/jquery.ui/jquery.ui.progressbar.css",
|
|
"skinStyles/jquery.ui/jquery.ui.resizable.css",
|
|
"skinStyles/jquery.ui/jquery.ui.selectable.css",
|
|
"skinStyles/jquery.ui/jquery.ui.slider.css",
|
|
"skinStyles/jquery.ui/jquery.ui.tabs.css",
|
|
"skinStyles/jquery.ui/jquery.ui.tooltip.css"
|
|
],
|
|
"+mediawiki.action.view.redirectPage": "skinStyles/mediawiki.action.view.redirectPage.less",
|
|
"+mediawiki.notification": "skinStyles/vector/mediawiki.notification.less",
|
|
"+oojs-ui-core.styles": "skinStyles/ooui.less",
|
|
"+ext.relatedArticles.readMore": "skinStyles/ext.relatedArticles.readMore.less",
|
|
"+ext.uls.compactlinks": "skinStyles/ext.uls.compactlinks.less",
|
|
"+ext.uls.interface": "skinStyles/ext.uls.interface.less"
|
|
}
|
|
},
|
|
"QUnitTestModule": {
|
|
"localBasePath": "",
|
|
"remoteSkinPath": "Vector",
|
|
"dependencies": [
|
|
"skins.vector.clientPreferences"
|
|
],
|
|
"scripts": [
|
|
"tests/integration-qunit/integration.test.js"
|
|
]
|
|
},
|
|
"config": {
|
|
"VectorWrapTablesTemporary": {
|
|
"value": false,
|
|
"description": "@var bool temporary config variable for controlling role out of tables. When enabled certain tables will be wrapped with a div"
|
|
},
|
|
"VectorNightMode": {
|
|
"value": {
|
|
"logged_in": false,
|
|
"logged_out": false,
|
|
"beta": true
|
|
},
|
|
"description": "@var array enables dark/night mode."
|
|
},
|
|
"VectorFontSizeConfigurableOptions": {
|
|
"value": {
|
|
"exclude": {
|
|
"mainpage": false,
|
|
"pagetitles": [],
|
|
"namespaces": [],
|
|
"querystring": {}
|
|
},
|
|
"include": []
|
|
},
|
|
"description": "@var array determines on which pages the font size is configurable."
|
|
},
|
|
"VectorNightModeOptions": {
|
|
"value": {
|
|
"exclude": {
|
|
"mainpage": false,
|
|
"pagetitles": [],
|
|
"namespaces": [],
|
|
"querystring": {}
|
|
},
|
|
"include": []
|
|
},
|
|
"description": "@var array determines which pages are compatible with night mode"
|
|
},
|
|
"VectorAppearance": {
|
|
"value": {
|
|
"logged_in": false,
|
|
"logged_out": false,
|
|
"beta": true
|
|
},
|
|
"description": "@var array enables a client preferences interface."
|
|
},
|
|
"VectorSearchApiUrl": {
|
|
"value": "",
|
|
"description": "To override the default search API, set this to the URL to rest.php on another wiki. Can be used with $wgDisableTextSearch and $wgSearchForwardUrl to mimic user experience on production."
|
|
},
|
|
"VectorUseIconWatch": {
|
|
"value": true
|
|
},
|
|
"VectorMaxWidthOptions": {
|
|
"value": {
|
|
"exclude": {
|
|
"mainpage": true,
|
|
"querystring": {
|
|
"action": "(history|edit|submit)",
|
|
"diff": ".+"
|
|
},
|
|
"namespaces": [
|
|
-1,
|
|
14
|
|
]
|
|
},
|
|
"include": [
|
|
"Special:Preferences"
|
|
]
|
|
},
|
|
"description": "options for configuring where where max-width should and should not apply. More details can be found in Hooks::shouldDisableMaxWidth PHP documentation."
|
|
},
|
|
"VectorResponsive": {
|
|
"value": false,
|
|
"description": "@var boolean turn Vector-2022 into a responsive skin by applying a view port and disabling the min-width"
|
|
},
|
|
"VectorDefaultSkinVersionForExistingAccounts": {
|
|
"value": "1",
|
|
"description": "@var string:['2'|'1'] The version ('2' for latest, '1' for legacy) of the Vector skin to use when an existing user has not specified a preference. This configuration is not used for new accounts (see VectorDefaultSkinVersionForNewAccounts) and is impermanent. In the future, this field may contains versions such as \"beta\" which when specified and the BetaFeatures extension is installed, and the user is enrolled, the latest version is used otherwise legacy. The value is _not_ persisted."
|
|
},
|
|
"VectorDefaultSkinVersionForNewAccounts": {
|
|
"value": null,
|
|
"description": "@var string|null The version ('2' for latest, '1' for legacy) of the Vector skin to **set** for newly created user accounts. **The value is persisted as a user preference.** This configuration is not used for preexisting accounts (see VectorDefaultSkinVersionForExistingAccounts) and only ever executed once at new account creation time. If it is null, no user preference will be set."
|
|
},
|
|
"VectorWvuiSearchOptions": {
|
|
"value": {
|
|
"showThumbnail": true,
|
|
"showDescription": true
|
|
}
|
|
},
|
|
"VectorLanguageInHeader": {
|
|
"value": {
|
|
"logged_in": true,
|
|
"logged_out": true
|
|
},
|
|
"description": "@var array Moves the language links from the sidebar into a menu beside the page title. Also moves the indicators to the line below, next to the tagline (siteSub)."
|
|
},
|
|
"VectorLanguageInMainPageHeader": {
|
|
"value": {
|
|
"logged_in": false,
|
|
"logged_out": false
|
|
},
|
|
"description": "@var When `VectorLanguageInHeader` is enabled, determines whether the Main Page's language button should be at the top or bottom of the content. The default position on the main page is at the bottom."
|
|
},
|
|
"VectorStickyHeader": {
|
|
"value": {
|
|
"logged_in": true,
|
|
"logged_out": false
|
|
},
|
|
"description": "@var array Enables a persistent header that allows quick access to user links, editing tools, search and other links while scrolling down a page"
|
|
},
|
|
"VectorWebABTestEnrollment": {
|
|
"value": {
|
|
"name": "skin-vector-unnamed",
|
|
"enabled": false,
|
|
"buckets": {
|
|
"unsampled": {
|
|
"samplingRate": 0
|
|
},
|
|
"control": {
|
|
"samplingRate": 0.5
|
|
},
|
|
"treatment": {
|
|
"samplingRate": 0.5
|
|
}
|
|
}
|
|
},
|
|
"description": "An associative array of A/B test configs keyed by parameters noted in mediawiki.experiments.js. There must be an `unsampled` bucket that represents a population excluded from the experiment. Additionally, the treatment bucket(s) must include a case-insensitive `treatment` substring in their name (e.g. `treatment`, `stickyHeaderTreatment`, `sticky-header-treatment`)"
|
|
},
|
|
"VectorPromoteAddTopic": {
|
|
"value": true,
|
|
"description": "@var boolean Temporary feature flag that promotes the 'Add topic' link in the views menu, to a button in the page title bar."
|
|
},
|
|
"VectorTableOfContentsCollapseAtCount": {
|
|
"value": 28,
|
|
"description": "@var The minimum number of headings required to collapse all headings in the sticky table of contents by default."
|
|
}
|
|
},
|
|
"ServiceWiringFiles": [
|
|
"includes/ServiceWiring.php"
|
|
],
|
|
"manifest_version": 2
|
|
}
|