mediawiki-skins-Vector/skin.json
Kunal Mehta ac43e74cfb Unbreak styles for installer
The installer hardcodes and expects to find a "skin.vector.styles"
module in skin.json, so moving it into a hook broke the styles. Moved it
back into skin.json, and left a comment so future developers don't make
the same mistake.

The responsive code is now a separate module,
"skins.vector.styles.responsive", which is only added to the page output
if VectorResponsive is enabled.

Bug: T106747
Change-Id: I7540b7871531ef650e799f012477cef6cdd32fb7
2015-07-23 17:05:26 -07:00

98 lines
2.8 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+",
"type": "skin",
"ConfigRegistry": {
"vector": "GlobalVarConfig::newInstance"
},
"ValidSkinNames": {
"vector": "Vector"
},
"MessagesDirs": {
"Vector": [
"i18n"
]
},
"AutoloadClasses": {
"SkinVector": "SkinVector.php",
"VectorTemplate": "VectorTemplate.php"
},
"@note": "When modifying skins.vector.styles definition, make sure the installer still works",
"ResourceModules": {
"skins.vector.styles": {
"position": "top",
"styles": {
"screen.less": {
"media": "screen"
},
"screen-hd.less": {
"media": "screen and (min-width: 982px)"
}
}
},
"skins.vector.styles.responsive": {
"position": "top",
"styles": {
"responsive.less": {
"media": "screen and (max-width: 768px)"
}
}
},
"skins.vector.js": {
"scripts": [
"collapsibleTabs.js",
"vector.js"
],
"position": "top",
"dependencies": [
"jquery.throttle-debounce",
"jquery.tabIndex"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteSkinPath": "Vector"
},
"ResourceModuleSkinStyles": {
"vector": {
"jquery.tipsy": "skinStyles/jquery.tipsy.less",
"jquery.ui.core": [
"skinStyles/jquery.ui/jquery.ui.core.css",
"skinStyles/jquery.ui/jquery.ui.theme.css"
],
"jquery.ui.accordion": "skinStyles/jquery.ui/jquery.ui.accordion.css",
"jquery.ui.autocomplete": "skinStyles/jquery.ui/jquery.ui.autocomplete.css",
"jquery.ui.button": "skinStyles/jquery.ui/jquery.ui.button.css",
"jquery.ui.datepicker": "skinStyles/jquery.ui/jquery.ui.datepicker.css",
"jquery.ui.dialog": "skinStyles/jquery.ui/jquery.ui.dialog.css",
"jquery.ui.menu": "skinStyles/jquery.ui/jquery.ui.menu.css",
"jquery.ui.progressbar": "skinStyles/jquery.ui/jquery.ui.progressbar.css",
"jquery.ui.resizable": "skinStyles/jquery.ui/jquery.ui.resizable.css",
"jquery.ui.selectable": "skinStyles/jquery.ui/jquery.ui.selectable.css",
"jquery.ui.slider": "skinStyles/jquery.ui/jquery.ui.slider.css",
"jquery.ui.spinner": "skinStyles/jquery.ui/jquery.ui.spinner.css",
"jquery.ui.tabs": "skinStyles/jquery.ui/jquery.ui.tabs.css",
"jquery.ui.tooltips": "skinStyles/jquery.ui/jquery.ui.tooltips.css",
"+mediawiki.notification": "skinStyles/mediawiki.notification.less",
"+mediawiki.sectionAnchor": "skinStyles/mediawiki.sectionAnchor.less",
"mediawiki.special": "skinStyles/mediawiki.special.less",
"mediawiki.special.preferences": "skinStyles/mediawiki.special.preferences.less"
}
},
"config": {
"VectorUseSimpleSearch": true,
"VectorUseIconWatch": true,
"VectorResponsive": false
},
"manifest_version": 1
}