mediawiki-extensions-Cookie.../extension.json
Florian Schmidt ca00379814 Use the short hooks definition in extension.json
Change-Id: I53415a93290cd3fc973e384bfd66364b4dcf8206
2016-09-17 22:25:25 +00:00

59 lines
1.3 KiB
JSON

{
"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
}