Upgrade skin.json schema to manifest_version 2

Bug: T242504
Change-Id: Ibb24f54ce807f08d88148826ea4ca7bfafb31d05
isekai
Ammar Abdulhamid 5 years ago
parent e781898f1d
commit 5499635ecb

@ -19,13 +19,25 @@
] ]
}, },
"config": { "config": {
"TimelessBackdropImage": "cat.svg", "TimelessBackdropImage": {
"TimelessLogo": null, "value": "cat.svg",
"TimelessWordmark": null "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": { "ResourceModules": {
"skins.timeless": { "skins.timeless": {
"targets": [ "desktop", "mobile" ], "targets": [
"desktop",
"mobile"
],
"class": "TimelessVariablesModule", "class": "TimelessVariablesModule",
"styles": { "styles": {
"resources/libraries/normalise.css": { "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." "@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": { "skins.timeless.js": {
"targets": [ "desktop" ], "targets": [
"desktop"
],
"scripts": [ "scripts": [
"resources/main.js" "resources/main.js"
] ]
}, },
"skins.timeless.mobile": { "skins.timeless.mobile": {
"targets": [ "desktop", "mobile" ], "targets": [
"desktop",
"mobile"
],
"scripts": [ "scripts": [
"resources/mobile.js" "resources/mobile.js"
] ]
@ -94,5 +111,5 @@
"TimelessTemplate": "includes/TimelessTemplate.php", "TimelessTemplate": "includes/TimelessTemplate.php",
"TimelessVariablesModule": "includes/TimelessVariablesModule.php" "TimelessVariablesModule": "includes/TimelessVariablesModule.php"
}, },
"manifest_version": 1 "manifest_version": 2
} }

Loading…
Cancel
Save