mediawiki-extensions-Confir.../hCaptcha/extension.json
James D. Forrester df052e9027 build: Use conf.MessageDirs for banana path config
This repo is a little tricky, as it's made up of multiple sub-
extensions, each using relative paths, but at least this way it
is clear that adding additional i18n paths to a manifest will
also add it to the linting set-up.

Change-Id: I7bc4f0cd5d2b431fe47a4d3bee2ca69a06aeea6d
2023-09-19 09:59:36 +01:00

71 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/"
},
"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/hCaptcha/resources"
},
"ResourceModules": {
"ext.confirmEdit.hCaptcha.visualEditor": {
"packageFiles": [
"ve-confirmedit-hCaptcha/ve.init.mw.HCaptchaSaveErrorHandler.js",
{
"name": "ve-confirmedit-hCaptcha/config.json",
"callback": "MediaWiki\\Extension\\ConfirmEdit\\hCaptcha\\Hooks\\ResourceLoaderHooks::getHCaptchaResourceLoaderConfig"
}
],
"targets": [
"desktop",
"mobile"
]
}
},
"attributes": {
"VisualEditor": {
"PluginModules": [
"ext.confirmEdit.hCaptcha.visualEditor"
]
}
},
"manifest_version": 2
}