mediawiki-extensions-Confir.../ReCaptchaNoCaptcha/extension.json
Amir Aharoni a42d5d4adf Move apihelp messages to a separate file
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
2019-08-31 22:52:29 +03:00

46 lines
1.3 KiB
JSON

{
"name": "ReCaptchaNoCaptcha",
"author": [
"..."
],
"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"
]
},
"AutoloadClasses": {
"ReCaptchaNoCaptcha": "includes/ReCaptchaNoCaptcha.php",
"ReCaptchaNoCaptchaHooks": "includes/ReCaptchaNoCaptchaHooks.php",
"HTMLReCaptchaNoCaptchaField": "includes/HTMLReCaptchaNoCaptchaField.php",
"ReCaptchaNoCaptchaAuthenticationRequest": "includes/ReCaptchaNoCaptchaAuthenticationRequest.php"
},
"config": {
"CaptchaClass": "ReCaptchaNoCaptcha",
"ReCaptchaSiteKey": "",
"ReCaptchaSecretKey": "",
"ReCaptchaSendRemoteIP": 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": "ReCaptchaNoCaptchaHooks::onResourceLoaderGetConfigVars"
},
"VisualEditorPluginModules": [
"ext.confirmEdit.reCaptchaNoCaptcha.visualEditor"
],
"manifest_version": 1
}