Merge "Upgrade skin.json schema to manifest_version 2"

This commit is contained in:
jenkins-bot 2020-01-13 15:54:19 +00:00 committed by Gerrit Code Review
commit 3230404d1f

133
skin.json
View file

@ -22,55 +22,85 @@
} }
}, },
"config": { "config": {
"MinervaCountErrors": false, "MinervaCountErrors": {
"MinervaDownloadNamespaces": [ "value": false
0 },
], "MinervaDownloadNamespaces": {
"MinervaEnableSiteNotice": false, "value": [
"MinervaCustomLogos": [], 0
"MinervaApplyKnownTemplateHacks": false, ]
"MinervaPageActions": [ },
"edit", "MinervaEnableSiteNotice": {
"talk", "value": false
"watch", },
"switch-language" "MinervaCustomLogos": {
], "value": []
"MinervaAlwaysShowLanguageButton": true, },
"MinervaApplyKnownTemplateHacks": {
"value": false
},
"MinervaPageActions": {
"value": [
"edit",
"talk",
"watch",
"switch-language"
]
},
"MinervaAlwaysShowLanguageButton": {
"value": true
},
"MinervaTalkAtTop": { "MinervaTalkAtTop": {
"base": false, "value": {
"beta": false, "base": false,
"loggedin": true "beta": false,
"loggedin": true
}
}, },
"MinervaAdvancedMainMenu": { "MinervaAdvancedMainMenu": {
"base": false, "value": {
"beta": false, "base": false,
"amc": true "beta": false,
"amc": true
}
}, },
"MinervaPersonalMenu": { "MinervaPersonalMenu": {
"base": false, "value": {
"beta": false, "base": false,
"amc": true "beta": false,
"amc": true
}
}, },
"MinervaHistoryInPageActions": { "MinervaHistoryInPageActions": {
"base": false, "value": {
"beta": false, "base": false,
"loggedin": true "beta": false,
"loggedin": true
}
}, },
"MinervaOverflowInPageActions": { "MinervaOverflowInPageActions": {
"base": false, "value": {
"beta": false, "base": false,
"amc": true "beta": false,
"amc": true
}
}, },
"MinervaShowCategoriesButton": { "MinervaShowCategoriesButton": {
"base": false, "value": {
"beta": true, "base": false,
"amc": true "beta": true,
"amc": true
}
}, },
"MinervaPageIssuesNewTreatment": { "MinervaPageIssuesNewTreatment": {
"base": true, "value": {
"beta": true "base": true,
"beta": true
}
}, },
"MinervaABSamplingRate": 0 "MinervaABSamplingRate": {
"value": 0
}
}, },
"ValidSkinNames": { "ValidSkinNames": {
"minerva": "MinervaNeue" "minerva": "MinervaNeue"
@ -117,7 +147,6 @@
"ResourceLoaderGetConfigVars": [ "ResourceLoaderGetConfigVars": [
"MinervaHooks::onResourceLoaderGetConfigVars" "MinervaHooks::onResourceLoaderGetConfigVars"
] ]
}, },
"MessagesDirs": { "MessagesDirs": {
"MinervaNeue": [ "MinervaNeue": [
@ -212,8 +241,12 @@
] ]
} }
}, },
"EventLoggingSchemas": { "attributes": {
"WebClientError": 18340282 "EventLogging": {
"Schemas": {
"WebClientError": 18340282
}
}
}, },
"ResourceModules": { "ResourceModules": {
"skins.minerva.base.styles": { "skins.minerva.base.styles": {
@ -396,9 +429,18 @@
"selectorWithVariant": ".mw-ui-icon-minerva-{name}-{variant}:before", "selectorWithVariant": ".mw-ui-icon-minerva-{name}-{variant}:before",
"defaultColor": "#54595d", "defaultColor": "#54595d",
"variants": { "variants": {
"lowColor": { "color": "#fc3", "global": true }, "lowColor": {
"mediumColor": { "color": "#ff5d01", "global": true }, "color": "#fc3",
"highColor": { "color": "#d33", "global": true } "global": true
},
"mediumColor": {
"color": "#ff5d01",
"global": true
},
"highColor": {
"color": "#d33",
"global": true
}
}, },
"images": { "images": {
"issue-generic": "resources/skins.minerva.icons.page.issues.default.color/issue-generic.svg" "issue-generic": "resources/skins.minerva.icons.page.issues.default.color/issue-generic.svg"
@ -475,13 +517,13 @@
"images": { "images": {
"recentchanges": { "recentchanges": {
"file": { "file": {
"ltr":"resources/skins.minerva.mainMenu.advanced.icons/recentChanges-ltr.svg", "ltr": "resources/skins.minerva.mainMenu.advanced.icons/recentChanges-ltr.svg",
"rtl": "resources/skins.minerva.mainMenu.advanced.icons/recentChanges-rtl.svg" "rtl": "resources/skins.minerva.mainMenu.advanced.icons/recentChanges-rtl.svg"
} }
}, },
"specialpages": { "specialpages": {
"file": { "file": {
"ltr":"resources/skins.minerva.mainMenu.advanced.icons/specialpages-ltr.svg", "ltr": "resources/skins.minerva.mainMenu.advanced.icons/specialpages-ltr.svg",
"rtl": "resources/skins.minerva.mainMenu.advanced.icons/specialpages-rtl.svg" "rtl": "resources/skins.minerva.mainMenu.advanced.icons/specialpages-rtl.svg"
} }
}, },
@ -502,7 +544,7 @@
"contributions": { "contributions": {
"file": { "file": {
"ltr": "resources/skins.minerva.mainMenu.icons/contributions-ltr.svg", "ltr": "resources/skins.minerva.mainMenu.icons/contributions-ltr.svg",
"rtl": "resources/skins.minerva.mainMenu.icons/contributions-rtl.svg" "rtl": "resources/skins.minerva.mainMenu.icons/contributions-rtl.svg"
} }
}, },
"login": { "login": {
@ -640,7 +682,6 @@
], ],
"packageFiles": [ "packageFiles": [
"resources/skins.minerva.options/index.js", "resources/skins.minerva.options/index.js",
"resources/skins.minerva.options/categories.js" "resources/skins.minerva.options/categories.js"
] ]
} }
@ -678,5 +719,5 @@
"ServiceWiringFiles": [ "ServiceWiringFiles": [
"includes/ServiceWiring.php" "includes/ServiceWiring.php"
], ],
"manifest_version": 1 "manifest_version": 2
} }