2021-03-19 20:00:11 +00:00
|
|
|
{
|
|
|
|
"name": "TemplateStylesExtender",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"author": [
|
|
|
|
"Octfx"
|
|
|
|
],
|
|
|
|
"url": "https://github.com/octfx/mediawiki-extensions-TemplateStylesExtender",
|
|
|
|
"descriptionmsg": "ext-templatestylesextender-desc",
|
|
|
|
"license-name": "GPL-2.0-or-later",
|
2021-03-23 19:16:00 +00:00
|
|
|
"type": "parserhook",
|
2021-03-19 20:00:11 +00:00
|
|
|
"requires": {
|
|
|
|
"MediaWiki": ">= 1.35.0",
|
|
|
|
"platform": {
|
|
|
|
"php": ">=7.2.0"
|
|
|
|
},
|
|
|
|
"extensions": {
|
|
|
|
"TemplateStyles": ">= 1.0"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"config": {
|
2021-03-19 21:48:47 +00:00
|
|
|
"TemplateStylesExtenderEnablePrefersColorScheme": {
|
|
|
|
"description": "Enable the prefers-color-scheme media query. WARNING this can break things if TemplateStyles was updated upstream",
|
|
|
|
"value": true
|
|
|
|
}
|
2021-03-19 20:00:11 +00:00
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
|
|
|
"TemplateStylesExtender": [
|
|
|
|
"i18n"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"AutoloadNamespaces": {
|
|
|
|
"MediaWiki\\Extension\\TemplateStylesExtender\\": "includes/"
|
|
|
|
},
|
|
|
|
"Hooks": {
|
|
|
|
"TemplateStylesPropertySanitizer": "MediaWiki\\Extension\\TemplateStylesExtender\\Hooks\\PropertySanitizerHook::onSanitize",
|
|
|
|
"TemplateStylesStylesheetSanitizer": "MediaWiki\\Extension\\TemplateStylesExtender\\Hooks\\StylesheetSanitizerHook::onSanitize"
|
|
|
|
},
|
|
|
|
"manifest_version": 2
|
|
|
|
}
|