mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-12-17 18:30:55 +00:00
9f2e976f10
In an attempt to be able to have easier code coverage... Bug: T377750 Change-Id: I556f5f2753fae77df4f34b64bccdb7d68f2825b0
70 lines
1.7 KiB
JSON
70 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\\Extension\\ConfirmEdit\\hCaptcha\\": "../includes/hCaptcha/"
|
|
},
|
|
"config": {
|
|
"CaptchaClass": {
|
|
"value": "MediaWiki\\Extension\\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/resources/hCaptcha"
|
|
},
|
|
"ResourceModules": {
|
|
"ext.confirmEdit.hCaptcha.visualEditor": {
|
|
"dependencies": [
|
|
"web2017-polyfills"
|
|
],
|
|
"packageFiles": [
|
|
"ve-confirmedit-hCaptcha/ve.init.mw.HCaptchaSaveErrorHandler.js",
|
|
{
|
|
"name": "ve-confirmedit-hCaptcha/config.json",
|
|
"callback": "MediaWiki\\Extension\\ConfirmEdit\\hCaptcha\\Hooks\\ResourceLoaderHooks::getHCaptchaResourceLoaderConfig"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"attributes": {
|
|
"VisualEditor": {
|
|
"PluginModules": [
|
|
"ext.confirmEdit.hCaptcha.visualEditor"
|
|
]
|
|
}
|
|
},
|
|
"manifest_version": 2
|
|
}
|