mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-27 17:10:19 +00:00
Upgrade skin.json schema to manifest_version 2
Bug: T242469 Change-Id: Idb96560efc8517ee8d353e856eb3a272af51ed4c
This commit is contained in:
parent
24b72c8bfa
commit
672dd7b9a8
31
skin.json
31
skin.json
|
@ -39,7 +39,10 @@
|
||||||
"ResourceModules": {
|
"ResourceModules": {
|
||||||
"skins.vector.styles": {
|
"skins.vector.styles": {
|
||||||
"class": "Vector\\ResourceLoaderLessModule",
|
"class": "Vector\\ResourceLoaderLessModule",
|
||||||
"targets": [ "desktop", "mobile" ],
|
"targets": [
|
||||||
|
"desktop",
|
||||||
|
"mobile"
|
||||||
|
],
|
||||||
"styles": {
|
"styles": {
|
||||||
"screen.less": {
|
"screen.less": {
|
||||||
"media": "screen"
|
"media": "screen"
|
||||||
|
@ -47,12 +50,14 @@
|
||||||
"screen-hd.less": {
|
"screen-hd.less": {
|
||||||
"media": "screen and ( min-width: 982px )"
|
"media": "screen and ( min-width: 982px )"
|
||||||
},
|
},
|
||||||
"print.less": {}
|
"print.less": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
"skins.vector.styles.responsive": {
|
"skins.vector.styles.responsive": {
|
||||||
"targets": [ "desktop", "mobile" ],
|
"targets": [
|
||||||
|
"desktop",
|
||||||
|
"mobile"
|
||||||
|
],
|
||||||
"styles": [
|
"styles": [
|
||||||
"responsive.less"
|
"responsive.less"
|
||||||
]
|
]
|
||||||
|
@ -98,10 +103,18 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"VectorUseSimpleSearch": true,
|
"VectorUseSimpleSearch": {
|
||||||
"VectorUseIconWatch": true,
|
"value": true
|
||||||
"VectorResponsive": false,
|
},
|
||||||
"VectorPrintLogo": false
|
"VectorUseIconWatch": {
|
||||||
|
"value": true
|
||||||
|
},
|
||||||
|
"VectorResponsive": {
|
||||||
|
"value": false
|
||||||
|
},
|
||||||
|
"VectorPrintLogo": {
|
||||||
|
"value": false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"manifest_version": 1
|
"manifest_version": 2
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue