mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-27 17:40:11 +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
46 lines
1.3 KiB
JSON
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
|
|
}
|