mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-30 19:04:29 +00:00
bf412aad28
Bug: T88047 Change-Id: I6930b478ea094ab9ce829f167674995de6c16bdf
53 lines
1.1 KiB
JSON
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
|
|
}
|
|
}
|