mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-15 11:59:33 +00:00
a42d5d4adf
This is one of the last extensions to be converted to having the API messages in a separate file (at least out of the extensions that are used be Wikimedia). This one is a bit different from the others because it actually as several extensions with separate i18n files, so it requires extra-careful review, especially in Gruntfile and the extension.json files. Bug: T189982 Change-Id: I66faae6fd4ff447327587c89ad2a1704edd1b356
65 lines
1.5 KiB
JSON
65 lines
1.5 KiB
JSON
{
|
|
"name": "FancyCaptcha",
|
|
"author": [
|
|
"Brion Vibber",
|
|
"..."
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:ConfirmEdit#FancyCaptcha",
|
|
"descriptionmsg": "fancycaptcha-desc",
|
|
"license-name": "GPL-2.0-or-later",
|
|
"type": "antispam",
|
|
"APIModules": {
|
|
"fancycaptchareload": "ApiFancyCaptchaReload"
|
|
},
|
|
"MessagesDirs": {
|
|
"FancyCaptcha": [
|
|
"i18n",
|
|
"i18n/api"
|
|
]
|
|
},
|
|
"AutoloadClasses": {
|
|
"FancyCaptcha": "includes/FancyCaptcha.php",
|
|
"HTMLFancyCaptchaField": "includes/HTMLFancyCaptchaField.php",
|
|
"ApiFancyCaptchaReload": "includes/ApiFancyCaptchaReload.php"
|
|
},
|
|
"ResourceModules": {
|
|
"ext.confirmEdit.fancyCaptcha.styles": {
|
|
"styles": "ext.confirmEdit.fancyCaptcha.less",
|
|
"targets": [
|
|
"mobile",
|
|
"desktop"
|
|
]
|
|
},
|
|
"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
|
|
}
|