Merge "Upgrade skin.json schema to manifest_version 2"

isekai
jenkins-bot 5 years ago committed by Gerrit Code Review
commit 8b011727a8

@ -19,13 +19,25 @@
]
},
"config": {
"TimelessBackdropImage": "cat.svg",
"TimelessLogo": null,
"TimelessWordmark": null
"TimelessBackdropImage": {
"value": "cat.svg",
"description": "Set it as you would $wgLogo to an appropriate background image. Recommendation is an svg set to 500-750px wide"
},
"TimelessLogo": {
"value": null,
"description": "Special logo rendering, allowing for custom logos for Timeless"
},
"TimelessWordmark": {
"value": null,
"description": "To use an image instead of the default Linux Libertine serif text for the header banner wordmark"
}
},
"ResourceModules": {
"skins.timeless": {
"targets": [ "desktop", "mobile" ],
"targets": [
"desktop",
"mobile"
],
"class": "TimelessVariablesModule",
"styles": {
"resources/libraries/normalise.css": {
@ -60,13 +72,18 @@
"@NOTE": "Remember to also update variables.less if you change the width cutoffs here. screen-misc.less and mobile.js may also need updating."
},
"skins.timeless.js": {
"targets": [ "desktop" ],
"targets": [
"desktop"
],
"scripts": [
"resources/main.js"
]
},
"skins.timeless.mobile": {
"targets": [ "desktop", "mobile" ],
"targets": [
"desktop",
"mobile"
],
"scripts": [
"resources/mobile.js"
]
@ -94,5 +111,5 @@
"TimelessTemplate": "includes/TimelessTemplate.php",
"TimelessVariablesModule": "includes/TimelessVariablesModule.php"
},
"manifest_version": 1
"manifest_version": 2
}

Loading…
Cancel
Save