mediawiki-extensions-Confir.../FancyCaptcha/extension.json
Florian 86b0aa3d37 FancyCaptcha: callbacks can't be arrays
Bug: T100561
Change-Id: I22353669a85391c3d9760a5253cac1263e895cf9
2015-05-27 20:55:40 +00:00

51 lines
1.1 KiB
JSON

{
"name": "FancyCaptcha",
"APIModules": {
"fancycaptchareload": "ApiFancyCaptchaReload"
},
"MessagesDirs": {
"FancyCaptcha": [
"i18n"
]
},
"AutoloadClasses": {
"FancyCaptcha": "FancyCaptcha.class.php",
"ApiFancyCaptchaReload": "ApiFancyCaptchaReload.php"
},
"ResourceModules": {
"ext.confirmEdit.fancyCaptcha.styles": {
"position": "top",
"targets": [
"mobile",
"desktop"
],
"styles": "ext.confirmEdit.fancyCaptcha.css"
},
"ext.confirmEdit.fancyCaptcha": {
"scripts": "ext.confirmEdit.fancyCaptcha.js",
"dependencies": "mediawiki.api"
},
"ext.confirmEdit.fancyCaptchaMobile": {
"scripts": "ext.confirmEdit.fancyCaptcha.js",
"targets": [
"mobile",
"desktop"
],
"dependencies": "mobile.startup"
}
},
"ResourceFileModulePaths": {
"localBasePath": "resources",
"remoteExtPath": "ConfirmEdit/FancyCaptcha/resources"
},
"callback": "ConfirmEditHooks::onFancyCaptchaSetup",
"config": {
"CaptchaClass": "FancyCaptcha",
"CaptchaFileBackend": "",
"CaptchaDirectory": false,
"CaptchaDirectoryLevels": 0,
"CaptchaSecret": "CHANGE_THIS_SECRET!",
"CaptchaDeleteOnSolve": false
}
}