2020-04-10 22:21:08 +00:00
|
|
|
{
|
|
|
|
"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": {
|
2021-03-25 15:13:51 +00:00
|
|
|
"HCaptcha": [
|
2020-04-10 22:21:08 +00:00
|
|
|
"i18n"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"AutoloadNamespaces": {
|
2022-03-05 15:05:22 +00:00
|
|
|
"MediaWiki\\Extension\\ConfirmEdit\\hCaptcha\\": "includes/"
|
2020-04-10 22:21:08 +00:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"CaptchaClass": {
|
2022-03-05 15:05:22 +00:00
|
|
|
"value": "MediaWiki\\Extension\\ConfirmEdit\\hCaptcha\\HCaptcha"
|
2020-04-10 22:21:08 +00:00
|
|
|
},
|
2021-01-29 05:52:28 +00:00
|
|
|
"HCaptchaProxy": {
|
2020-05-11 16:39:37 +00:00
|
|
|
"description": "Proxy to use for outbound PHP web requests to hCaptcha servers",
|
|
|
|
"value": false
|
|
|
|
},
|
2020-04-10 22:21:08 +00:00
|
|
|
"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
|
|
|
|
}
|
|
|
|
},
|
2021-03-25 15:13:51 +00:00
|
|
|
"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": {
|
2022-03-05 15:05:22 +00:00
|
|
|
"class": "MediaWiki\\Extension\\ConfirmEdit\\hCaptcha\\Hooks\\ResourceLoaderHooks"
|
2021-03-25 15:13:51 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"attributes": {
|
|
|
|
"VisualEditor": {
|
|
|
|
"PluginModules": [
|
|
|
|
"ext.confirmEdit.hCaptcha.visualEditor"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2020-04-10 22:21:08 +00:00
|
|
|
"manifest_version": 2
|
|
|
|
}
|