mediawiki-extensions-Confir.../FancyCaptcha/extension.json
Florian bf412aad28 Add extension.json and clear PHP entry point
Bug: T88047
Change-Id: I6930b478ea094ab9ce829f167674995de6c16bdf
2015-05-23 11:12:26 +02:00

53 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
}
}