| 1 | { |
| 2 | "name": "hCaptcha", |
| 3 | "author": [ |
| 4 | "Sam Reed", |
| 5 | "..." |
| 6 | ], |
| 7 | "url": "https://www.mediawiki.org/wiki/Extension:ConfirmEdit", |
| 8 | "descriptionmsg": "hcaptcha-desc", |
| 9 | "license-name": "GPL-2.0-or-later", |
| 10 | "type": "antispam", |
| 11 | "MessagesDirs": { |
| 12 | "hCaptcha": [ |
| 13 | "i18n" |
| 14 | ] |
| 15 | }, |
| 16 | "AutoloadNamespaces": { |
| 17 | "MediaWiki\\Extension\\ConfirmEdit\\hCaptcha\\": "includes/" |
| 18 | }, |
| 19 | "config": { |
| 20 | "HCaptchaProxy": { |
| 21 | "description": "Proxy to use for outbound PHP web requests to hCaptcha servers", |
| 22 | "value": false |
| 23 | }, |
| 24 | "HCaptchaSiteKey": { |
| 25 | "description": "Sitekey from hCaptcha (requires creating an account)", |
| 26 | "value": "" |
| 27 | }, |
| 28 | "HCaptchaSecretKey": { |
| 29 | "description": "Secret key from hCaptcha (requires creating an account)", |
| 30 | "value": "" |
| 31 | }, |
| 32 | "HCaptchaSendRemoteIP": { |
| 33 | "description": "Whether to send the client's IP address to hCaptcha", |
| 34 | "value": false |
| 35 | } |
| 36 | }, |
| 37 | "ConfigRegistry": { |
| 38 | "hcaptcha": "GlobalVarConfig::newInstance" |
| 39 | }, |
| 40 | "ResourceFileModulePaths": { |
| 41 | "localBasePath": "resources", |
| 42 | "remoteExtPath": "ConfirmEdit/hCaptcha/resources" |
| 43 | }, |
| 44 | "ResourceModules": { |
| 45 | "ext.confirmEdit.hCaptcha.visualEditor": { |
| 46 | "dependencies": [ |
| 47 | "web2017-polyfills" |
| 48 | ], |
| 49 | "packageFiles": [ |
| 50 | "ve-confirmedit-hCaptcha/ve.init.mw.HCaptchaSaveErrorHandler.js", |
| 51 | { |
| 52 | "name": "ve-confirmedit-hCaptcha/config.json", |
| 53 | "callback": "MediaWiki\\Extension\\ConfirmEdit\\hCaptcha\\Hooks\\ResourceLoaderHooks::getHCaptchaResourceLoaderConfig" |
| 54 | } |
| 55 | ] |
| 56 | } |
| 57 | }, |
| 58 | "attributes": { |
| 59 | "VisualEditor": { |
| 60 | "PluginModules": [ |
| 61 | "ext.confirmEdit.hCaptcha.visualEditor" |
| 62 | ] |
| 63 | } |
| 64 | }, |
| 65 | "manifest_version": 2 |
| 66 | } |