{ "name": "TemplateStylesExtender", "version": "1.1.1", "author": [ "[https://www.mediawiki.org/wiki/User:Octfx Octfx]" ], "url": "https://github.com/octfx/mediawiki-extensions-TemplateStylesExtender", "descriptionmsg": "ext-templatestylesextender-desc", "license-name": "GPL-2.0-or-later", "type": "parserhook", "requires": { "MediaWiki": ">= 1.39.0", "platform": { "php": ">=7.3.19" }, "extensions": { "TemplateStyles": ">= 1.0" } }, "config": { "TemplateStylesExtenderEnablePrefersColorScheme": { "description": "Enable the prefers-color-scheme media query. WARNING this can break things if TemplateStyles was updated upstream", "value": true }, "TemplateStylesExtenderEnableCssVars": { "description": "Enable the matcher for css variables", "value": true } }, "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 }