mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CookieWarning
synced 2024-09-23 18:28:35 +00:00
e37bbc73cc
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
63 lines
1.2 KiB
JSON
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
|
|
}
|