mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-18 10:53:01 +00:00
0993a43a29
Extend Captcha save error handler to verify user using hCaptcha. Bug: T264684 Change-Id: I88928e291a2ecd6edd74af62575e8704c0a2ee13
73 lines
1.7 KiB
JSON
73 lines
1.7 KiB
JSON
{
|
|
"name": "hCaptcha",
|
|
"author": [
|
|
"Sam Reed",
|
|
"..."
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:ConfirmEdit",
|
|
"descriptionmsg": "hcaptcha-desc",
|
|
"license-name": "GPL-2.0-or-later",
|
|
"type": "antispam",
|
|
"MessagesDirs": {
|
|
"HCaptcha": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"AutoloadNamespaces": {
|
|
"MediaWiki\\Extensions\\ConfirmEdit\\hCaptcha\\": "includes/"
|
|
},
|
|
"config": {
|
|
"CaptchaClass": {
|
|
"value": "MediaWiki\\Extensions\\ConfirmEdit\\hCaptcha\\HCaptcha"
|
|
},
|
|
"HCaptchaProxy": {
|
|
"description": "Proxy to use for outbound PHP web requests to hCaptcha servers",
|
|
"value": false
|
|
},
|
|
"HCaptchaSiteKey": {
|
|
"description": "Sitekey from hCaptcha (requires creating an account)",
|
|
"value": ""
|
|
},
|
|
"HCaptchaSecretKey": {
|
|
"description": "Secret key from hCaptcha (requires creating an account)",
|
|
"value": ""
|
|
},
|
|
"HCaptchaSendRemoteIP": {
|
|
"description": "Whether to send the client's IP address to hCaptcha",
|
|
"value": false
|
|
}
|
|
},
|
|
"ConfigRegistry": {
|
|
"hcaptcha": "GlobalVarConfig::newInstance"
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "resources",
|
|
"remoteExtPath": "ConfirmEdit/hCaptcha/resources"
|
|
},
|
|
"ResourceModules": {
|
|
"ext.confirmEdit.hCaptcha.visualEditor": {
|
|
"scripts": "ve-confirmedit-hCaptcha/ve.init.mw.HCaptchaSaveErrorHandler.js",
|
|
"targets": [
|
|
"desktop",
|
|
"mobile"
|
|
]
|
|
}
|
|
},
|
|
"Hooks": {
|
|
"ResourceLoaderGetConfigVars": "resourceloader"
|
|
},
|
|
"HookHandlers": {
|
|
"resourceloader": {
|
|
"class": "MediaWiki\\Extensions\\ConfirmEdit\\hCaptcha\\Hooks\\ResourceLoaderHooks"
|
|
}
|
|
},
|
|
"attributes": {
|
|
"VisualEditor": {
|
|
"PluginModules": [
|
|
"ext.confirmEdit.hCaptcha.visualEditor"
|
|
]
|
|
}
|
|
},
|
|
"manifest_version": 2
|
|
}
|