mediawiki-extensions-Confir.../ReCaptchaNoCaptcha/extension.json
Florian 7699da5229 Fix Autoload definition for ReCaptchaNoCaptcha
In I2933639f9cb50db2101c4765ce9d8f9069d253b8 namespaces were introduced,
however the AutoloadNamespaces config for ReCaptchaNoCaptcha used the
syntax for AutolaodClasses (like the other captcha modules do), instead
of the one needed for namespaces to work.

Bug: T326501
Change-Id: Ie973cd200f9641aa9bc4eaac4709de4e9654887a
2023-01-08 15:54:44 +01:00

58 lines
1.3 KiB
JSON

{
"name": "ReCaptchaNoCaptcha",
"author": [
"Florian Schmidt"
],
"url": "https://www.mediawiki.org/wiki/Extension:ConfirmEdit#ReCaptcha_(NoCaptcha)",
"descriptionmsg": "renocaptcha-desc",
"license-name": "GPL-2.0-or-later",
"type": "antispam",
"MessagesDirs": {
"ReCaptchaNoCaptcha": [
"i18n",
"i18n/api"
]
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\ConfirmEdit\\ReCaptchaNoCaptcha\\": "includes/"
},
"config": {
"CaptchaClass": {
"value": "MediaWiki\\Extension\\ConfirmEdit\\ReCaptchaNoCaptcha\\ReCaptchaNoCaptcha"
},
"ReCaptchaSiteKey": {
"value": ""
},
"ReCaptchaSecretKey": {
"value": ""
},
"ReCaptchaSendRemoteIP": {
"value": false
}
},
"ResourceFileModulePaths": {
"localBasePath": "resources",
"remoteExtPath": "ConfirmEdit/ReCaptchaNoCaptcha/resources"
},
"ResourceModules": {
"ext.confirmEdit.reCaptchaNoCaptcha.visualEditor": {
"scripts": "ve-confirmedit-reCaptchaNoCaptcha/ve.init.mw.NoCaptchaReCaptchaSaveErrorHandler.js",
"targets": [
"desktop",
"mobile"
]
}
},
"Hooks": {
"ResourceLoaderGetConfigVars": "MediaWiki\\Extension\\ConfirmEdit\\ReCaptchaNoCaptcha\\Hooks::onResourceLoaderGetConfigVars"
},
"attributes": {
"VisualEditor": {
"PluginModules": [
"ext.confirmEdit.reCaptchaNoCaptcha.visualEditor"
]
}
},
"manifest_version": 2
}