mediawiki-extensions-Cookie.../extension.json

59 lines
1.3 KiB
JSON
Raw Normal View History

{
"name": "CookieWarning",
"version": "0.1.0",
"author": [
"Florian Schmidt"
],
"url": "https://www.droidwiki.de",
"descriptionmsg": "cookiewarning-desc",
"type": "other",
"license-name": "MIT",
"MessagesDirs": {
"CookieWarning": [
"i18n"
]
},
"Hooks": {
"SkinTemplateOutputPageBeforeExec": "CookieWarningHooks::onSkinTemplateOutputPageBeforeExec",
"BeforePageDisplay": "CookieWarningHooks::onBeforePageDisplay",
"GetPreferences": "CookieWarningHooks::onGetPreferences",
"BeforeInitialize": "CookieWarningHooks::onBeforeInitialize"
},
"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
}