mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-12 08:15:12 +00:00
31c59374a4
Also update MathCaptcha so that it works with recent versions of Math (and breaks with old ones). Also fix MathCaptcha API output, which used to send the question in plaintext. Bug: T110302 Change-Id: I0da671a546700110d789b79a3089460abd9cce3b Depends-On: I8b52ec8ddf494f23941807638f149f15b5e46b0c
61 lines
1.4 KiB
JSON
61 lines
1.4 KiB
JSON
{
|
|
"name": "FancyCaptcha",
|
|
"author": [
|
|
"Brion Vibber",
|
|
"..."
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:ConfirmEdit#FancyCaptcha",
|
|
"descriptionmsg": "fancycaptcha-desc",
|
|
"license-name": "GPL-2.0+",
|
|
"type": "antispam",
|
|
"APIModules": {
|
|
"fancycaptchareload": "ApiFancyCaptchaReload"
|
|
},
|
|
"MessagesDirs": {
|
|
"FancyCaptcha": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"AutoloadClasses": {
|
|
"FancyCaptcha": "FancyCaptcha.class.php",
|
|
"HTMLFancyCaptchaField": "HTMLFancyCaptchaField.php",
|
|
"ApiFancyCaptchaReload": "ApiFancyCaptchaReload.php"
|
|
},
|
|
"ResourceModules": {
|
|
"ext.confirmEdit.fancyCaptcha.styles": {
|
|
"position": "top",
|
|
"styles": "ext.confirmEdit.fancyCaptcha.css"
|
|
},
|
|
"ext.confirmEdit.fancyCaptcha": {
|
|
"scripts": "ext.confirmEdit.fancyCaptcha.js",
|
|
"dependencies": "mediawiki.api",
|
|
"targets": [
|
|
"mobile",
|
|
"desktop"
|
|
]
|
|
},
|
|
"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
|
|
},
|
|
"manifest_version": 1
|
|
}
|