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" : {
2023-09-18 18:44:07 +00:00
"hCaptcha" : [
2020-04-10 22:21:08 +00:00
"i18n"
]
} ,
"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" : {
2024-10-25 18:35:27 +00:00
"description" : "Proxy to use for outbound PHP web requests to hCaptcha servers (HCaptchaVerifyUrl)" ,
2020-05-11 16:39:37 +00:00
"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
2024-10-25 18:35:27 +00:00
} ,
"HCaptchaApiUrl" : {
"description" : "Url that the hCaptcha JS is loaded from; may want to use https://cn1.hcaptcha.com/1/api.js?endpoint=https://cn1.hcaptcha.com&assethost=https://assets-cn1.hcaptcha.com&imghost=https://imgs-cn1.hcaptcha.com&reportapi=https://reportapi-cn1.hcaptcha.com for Chinese visitors" ,
"value" : "https://js.hcaptcha.com/1/api.js"
} ,
"HCaptchaVerifyUrl" : {
"description" : "Url that the hCaptcha requested is verified against; may want to use https://cn1.hcaptcha.com/siteverify if server is in China" ,
"value" : "https://api.hcaptcha.com/siteverify"
2020-04-10 22:21:08 +00:00
}
} ,
2021-03-25 15:13:51 +00:00
"ConfigRegistry" : {
"hcaptcha" : "GlobalVarConfig::newInstance"
} ,
"ResourceFileModulePaths" : {
2024-11-05 15:20:22 +00:00
"localBasePath" : "../resources" ,
"remoteExtPath" : "ConfirmEdit/resources"
2021-03-25 15:13:51 +00:00
} ,
"ResourceModules" : {
"ext.confirmEdit.hCaptcha.visualEditor" : {
2024-09-17 19:22:48 +00:00
"dependencies" : [
"web2017-polyfills"
] ,
2022-12-11 21:28:28 +00:00
"packageFiles" : [
"ve-confirmedit-hCaptcha/ve.init.mw.HCaptchaSaveErrorHandler.js" ,
{
"name" : "ve-confirmedit-hCaptcha/config.json" ,
"callback" : "MediaWiki\\Extension\\ConfirmEdit\\hCaptcha\\Hooks\\ResourceLoaderHooks::getHCaptchaResourceLoaderConfig"
}
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
}