mediawiki-extensions-Cookie.../extension.json
Florian e37bbc73cc Change de-Message, adjust mobile less and add url config option
de i18n message now represents the en translation. The mobile opacity
is now 1, instead of 0.85 from desktop (it covers text in mobile, which
makes it harder to read with the opacity).

The URL isn't hardcoded anymore, it now can be configured with a config
option.

Change-Id: I9a4e3eb40675496e9467ecee4307298d0542633e
2015-08-16 12:00:33 +02:00

63 lines
1.2 KiB
JSON

{
"name": "CookieWarning",
"version": "0.1.0",
"author": [
"Florian Schmidt"
],
"url": "https://www.droidwiki.de",
"descriptionmsg": "cookiewarning-desc",
"type": "other",
"MessagesDirs": {
"CookieWarning": [
"i18n"
]
},
"Hooks": {
"SkinTemplateOutputPageBeforeExec": [
"CookieWarningHooks::onSkinTemplateOutputPageBeforeExec"
],
"BeforePageDisplay": [
"CookieWarningHooks::onBeforePageDisplay"
],
"GetPreferences": [
"CookieWarningHooks::onGetPreferences"
]
},
"config": {
"CookieWarningEnabled": false,
"CookieWarningMoreUrl": ""
},
"ResourceModules": {
"ext.CookieWarning": {
"dependencies": [
"mediawiki.api",
"mediawiki.cookie"
],
"scripts": "resources/ext.CookieWarning/ext.CookieWarning.js",
"targets": [
"mobile",
"desktop"
]
},
"ext.CookieWarning.styles": {
"position": "top",
"styles": "resources/ext.CookieWarning/ext.CookieWarning.less",
"targets": [
"mobile",
"desktop"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "CookieWarning"
},
"AutoloadClasses": {
"CookieWarningHooks": "includes/CookieWarning.hooks.php"
},
"ConfigRegistry": {
"cookiewarning": "GlobalVarConfig::newInstance"
},
"manifest_version": 1
}