mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-15 03:34:25 +00:00
58457f8ae8
A resources folder is the defacto-standard across mediawiki repos. Vector now mirrors those by describing where files served by ResourceLoader are located. Change-Id: Ib7d8575112e8afaaa84221a6f30a15b34b51eb24
116 lines
3 KiB
JSON
116 lines
3 KiB
JSON
{
|
|
"name": "Vector",
|
|
"author": [
|
|
"Trevor Parscal",
|
|
"Roan Kattouw",
|
|
"..."
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Skin:Vector",
|
|
"descriptionmsg": "vector-skin-desc",
|
|
"namemsg": "skinname-vector",
|
|
"license-name": "GPL-2.0-or-later",
|
|
"type": "skin",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.29.0"
|
|
},
|
|
"ValidSkinNames": {
|
|
"vector": "Vector"
|
|
},
|
|
"MessagesDirs": {
|
|
"Vector": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"AutoloadClasses": {
|
|
"Vector\\Hooks": "includes/Hooks.php",
|
|
"SkinVector": "includes/SkinVector.php",
|
|
"VectorTemplate": "includes/VectorTemplate.php",
|
|
"Vector\\ResourceLoaderLessModule": "includes/ResourceLoaderLessModule.php"
|
|
},
|
|
"Hooks": {
|
|
"BeforePageDisplayMobile": "Vector\\Hooks::onBeforePageDisplayMobile"
|
|
},
|
|
"@note": "When modifying skins.vector.styles definition, make sure the installer still works",
|
|
"ResourceModules": {
|
|
"skins.vector.styles": {
|
|
"class": "Vector\\ResourceLoaderLessModule",
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
],
|
|
"styles": {
|
|
"resources/skins.vector.styles/screen.less": {
|
|
"media": "screen"
|
|
},
|
|
"resources/skins.vector.styles/screen-hd.less": {
|
|
"media": "screen and ( min-width: 982px )"
|
|
},
|
|
"resources/skins.vector.styles/print.less": []
|
|
}
|
|
},
|
|
"skins.vector.styles.responsive": {
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
],
|
|
"styles": [
|
|
"resources/skins.vector.styles.responsive.less"
|
|
]
|
|
},
|
|
"skins.vector.js": {
|
|
"scripts": [
|
|
"resources/skins.vector.js/collapsibleTabs.js",
|
|
"resources/skins.vector.js/vector.js"
|
|
],
|
|
"dependencies": [
|
|
"mediawiki.util"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "",
|
|
"remoteSkinPath": "Vector"
|
|
},
|
|
"ResourceModuleSkinStyles": {
|
|
"vector": {
|
|
"jquery.tipsy": "skinStyles/jquery.tipsy.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/mediawiki.notification.less",
|
|
"+oojs-ui-core.styles": "skinStyles/ooui.less",
|
|
"mediawiki.special": "skinStyles/mediawiki.special.less",
|
|
"+ext.relatedArticles.readMore": "skinStyles/ext.relatedArticles.readMore.less"
|
|
}
|
|
},
|
|
"config": {
|
|
"VectorUseSimpleSearch": {
|
|
"value": true
|
|
},
|
|
"VectorUseIconWatch": {
|
|
"value": true
|
|
},
|
|
"VectorResponsive": {
|
|
"value": false
|
|
},
|
|
"VectorPrintLogo": {
|
|
"value": false
|
|
}
|
|
},
|
|
"manifest_version": 2
|
|
}
|