mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-28 10:00:29 +00:00
86b0aa3d37
Bug: T100561 Change-Id: I22353669a85391c3d9760a5253cac1263e895cf9
51 lines
1.1 KiB
JSON
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
|
|
}
|
|
}
|