2015-05-25 20:25:40 +00:00
|
|
|
{
|
|
|
|
"@doc": "Please read README.md",
|
|
|
|
"name": "ConfirmEdit",
|
2018-06-15 21:08:14 +00:00
|
|
|
"version": "1.6.0",
|
2015-05-25 20:25:40 +00:00
|
|
|
"author": [
|
|
|
|
"Brion Vibber",
|
2015-12-06 13:20:24 +00:00
|
|
|
"Florian Schmidt",
|
|
|
|
"Sam Reed",
|
2015-05-25 20:25:40 +00:00
|
|
|
"..."
|
|
|
|
],
|
|
|
|
"url": "https://www.mediawiki.org/wiki/Extension:ConfirmEdit",
|
|
|
|
"descriptionmsg": "captcha-desc",
|
2018-01-04 10:57:05 +00:00
|
|
|
"license-name": "GPL-2.0-or-later",
|
2015-05-25 20:25:40 +00:00
|
|
|
"type": "antispam",
|
2017-02-20 18:17:24 +00:00
|
|
|
"requires": {
|
2024-08-22 20:51:16 +00:00
|
|
|
"MediaWiki": ">= 1.43"
|
2017-02-17 13:09:34 +00:00
|
|
|
},
|
2015-05-25 20:25:40 +00:00
|
|
|
"GroupPermissions": {
|
|
|
|
"*": {
|
|
|
|
"skipcaptcha": false
|
|
|
|
},
|
|
|
|
"user": {
|
|
|
|
"skipcaptcha": false
|
|
|
|
},
|
|
|
|
"autoconfirmed": {
|
|
|
|
"skipcaptcha": false
|
|
|
|
},
|
|
|
|
"bot": {
|
|
|
|
"skipcaptcha": true
|
|
|
|
},
|
|
|
|
"sysop": {
|
|
|
|
"skipcaptcha": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"AvailableRights": [
|
|
|
|
"skipcaptcha"
|
|
|
|
],
|
2020-03-21 20:49:38 +00:00
|
|
|
"GrantPermissions": {
|
|
|
|
"basic": {
|
|
|
|
"skipcaptcha": true
|
|
|
|
}
|
|
|
|
},
|
2015-05-25 20:25:40 +00:00
|
|
|
"ExtensionFunctions": [
|
2022-04-08 16:40:15 +00:00
|
|
|
"MediaWiki\\Extension\\ConfirmEdit\\Hooks::confirmEditSetup"
|
2015-05-25 20:25:40 +00:00
|
|
|
],
|
|
|
|
"SpecialPages": {
|
2022-04-08 16:40:15 +00:00
|
|
|
"Captcha": "MediaWiki\\Extension\\ConfirmEdit\\Specials\\SpecialCaptcha"
|
2015-05-25 20:25:40 +00:00
|
|
|
},
|
|
|
|
"MessagesDirs": {
|
|
|
|
"ConfirmEdit": [
|
2019-08-31 19:49:57 +00:00
|
|
|
"i18n",
|
|
|
|
"i18n/api"
|
2015-05-25 20:25:40 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"ExtensionMessagesFiles": {
|
|
|
|
"ConfirmEditAlias": "ConfirmEdit.alias.php"
|
|
|
|
},
|
2022-04-08 16:40:15 +00:00
|
|
|
"AutoloadNamespaces": {
|
2024-10-23 22:59:50 +00:00
|
|
|
"MediaWiki\\Extension\\ConfirmEdit\\": "includes/"
|
2021-03-24 04:30:55 +00:00
|
|
|
},
|
2016-03-12 21:35:42 +00:00
|
|
|
"ResourceModules": {
|
|
|
|
"ext.confirmEdit.editPreview.ipwhitelist.styles": {
|
|
|
|
"styles": "ext.confirmEdit.editPreview.ipwhitelist.styles.css"
|
2018-11-23 17:22:13 +00:00
|
|
|
},
|
|
|
|
"ext.confirmEdit.visualEditor": {
|
2019-01-15 00:05:29 +00:00
|
|
|
"scripts": "ve-confirmedit/ve.init.mw.CaptchaSaveErrorHandler.js",
|
2024-01-12 18:16:57 +00:00
|
|
|
"dependencies": "ext.confirmEdit.CaptchaInputWidget"
|
2018-12-07 18:23:39 +00:00
|
|
|
},
|
|
|
|
"ext.confirmEdit.simpleCaptcha": {
|
2024-10-23 22:59:50 +00:00
|
|
|
"styles": "ext.confirmEdit.simpleCaptcha.css"
|
2016-03-12 21:35:42 +00:00
|
|
|
}
|
|
|
|
},
|
2019-10-16 19:29:56 +00:00
|
|
|
"attributes": {
|
|
|
|
"VisualEditor": {
|
|
|
|
"PluginModules": [
|
|
|
|
"ext.confirmEdit.visualEditor"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2016-03-12 21:35:42 +00:00
|
|
|
"ResourceFileModulePaths": {
|
|
|
|
"localBasePath": "resources",
|
|
|
|
"remoteExtPath": "ConfirmEdit/resources"
|
|
|
|
},
|
2020-12-10 20:00:44 +00:00
|
|
|
"HookHandlers": {
|
|
|
|
"ConfirmEditHooks": {
|
2024-04-26 20:33:09 +00:00
|
|
|
"class": "MediaWiki\\Extension\\ConfirmEdit\\Hooks",
|
|
|
|
"services": [
|
|
|
|
"MainWANObjectCache"
|
|
|
|
]
|
2024-05-04 20:28:51 +00:00
|
|
|
},
|
|
|
|
"AbuseFilterHooks": {
|
2024-05-15 06:25:56 +00:00
|
|
|
"class": "MediaWiki\\Extension\\ConfirmEdit\\AbuseFilterHooks",
|
|
|
|
"services": [
|
|
|
|
"MainConfig"
|
|
|
|
]
|
2020-12-10 20:00:44 +00:00
|
|
|
}
|
|
|
|
},
|
2015-05-25 20:25:40 +00:00
|
|
|
"Hooks": {
|
2020-12-10 20:00:44 +00:00
|
|
|
"EditPageBeforeEditButtons": "ConfirmEditHooks",
|
|
|
|
"EmailUserForm": "ConfirmEditHooks",
|
|
|
|
"EmailUser": "ConfirmEditHooks",
|
|
|
|
"PageSaveComplete": "ConfirmEditHooks",
|
|
|
|
"TitleReadWhitelist": "ConfirmEditHooks",
|
|
|
|
"AlternateEditPreview": "ConfirmEditHooks",
|
|
|
|
"ResourceLoaderRegisterModules": "ConfirmEditHooks",
|
2023-08-15 10:11:58 +00:00
|
|
|
"EditPage::showEditForm:fields": "ConfirmEditHooks",
|
|
|
|
"EditFilterMergedContent": "ConfirmEditHooks",
|
|
|
|
"APIGetAllowedParams": "ConfirmEditHooks",
|
2024-05-04 20:28:51 +00:00
|
|
|
"AuthChangeFormFields": "ConfirmEditHooks",
|
|
|
|
"AbuseFilterCustomActions": "AbuseFilterHooks"
|
2017-02-17 13:09:34 +00:00
|
|
|
},
|
|
|
|
"AuthManagerAutoConfig": {
|
|
|
|
"preauth": {
|
2019-10-16 19:29:56 +00:00
|
|
|
"CaptchaPreAuthenticationProvider": {
|
2022-04-08 16:40:15 +00:00
|
|
|
"class": "MediaWiki\\Extension\\ConfirmEdit\\Auth\\CaptchaPreAuthenticationProvider",
|
2017-02-17 13:09:34 +00:00
|
|
|
"sort": 10
|
|
|
|
}
|
|
|
|
}
|
2015-05-25 20:25:40 +00:00
|
|
|
},
|
|
|
|
"config": {
|
2019-10-16 19:29:56 +00:00
|
|
|
"CaptchaWhitelistIP": {
|
2024-11-06 23:56:11 +00:00
|
|
|
"description": "DEPRECATED! Use CaptchaBypassIPs",
|
|
|
|
"value": false
|
|
|
|
},
|
|
|
|
"CaptchaBypassIPs": {
|
|
|
|
"description": "A list of IP addresses that can skip the captcha",
|
2019-10-16 19:29:56 +00:00
|
|
|
"value": false
|
|
|
|
},
|
|
|
|
"Captcha": {
|
|
|
|
"value": null
|
|
|
|
},
|
2017-04-14 14:15:58 +00:00
|
|
|
"CaptchaTriggers": {
|
2019-10-16 19:29:56 +00:00
|
|
|
"value": {
|
|
|
|
"edit": false,
|
|
|
|
"create": false,
|
|
|
|
"sendemail": false,
|
|
|
|
"addurl": true,
|
|
|
|
"createaccount": true,
|
|
|
|
"badlogin": true,
|
|
|
|
"badloginperuser": true
|
|
|
|
},
|
|
|
|
"merge_strategy": "array_plus"
|
2015-05-25 20:25:40 +00:00
|
|
|
},
|
2017-04-14 14:15:58 +00:00
|
|
|
"CaptchaTriggersOnNamespace": {
|
2019-10-16 19:29:56 +00:00
|
|
|
"value": {},
|
|
|
|
"merge_strategy": "array_plus_2d"
|
|
|
|
},
|
|
|
|
"CaptchaStorageClass": {
|
2022-04-08 16:40:15 +00:00
|
|
|
"value": "MediaWiki\\Extension\\ConfirmEdit\\Store\\CaptchaSessionStore"
|
2019-10-16 19:29:56 +00:00
|
|
|
},
|
|
|
|
"CaptchaSessionExpiration": {
|
|
|
|
"value": 1800
|
|
|
|
},
|
|
|
|
"CaptchaBadLoginExpiration": {
|
|
|
|
"value": 300
|
|
|
|
},
|
|
|
|
"CaptchaBadLoginPerUserExpiration": {
|
|
|
|
"value": 600
|
|
|
|
},
|
|
|
|
"AllowConfirmedEmail": {
|
|
|
|
"value": false
|
|
|
|
},
|
|
|
|
"CaptchaBadLoginAttempts": {
|
|
|
|
"value": 3
|
|
|
|
},
|
|
|
|
"CaptchaBadLoginPerUserAttempts": {
|
|
|
|
"value": 20
|
|
|
|
},
|
|
|
|
"CaptchaWhitelist": {
|
2024-11-06 23:56:11 +00:00
|
|
|
"description": "DEPRECATED: Use CaptchaIgnoredUrls",
|
|
|
|
"value": false
|
|
|
|
},
|
|
|
|
"CaptchaIgnoredUrls": {
|
|
|
|
"description": "Urls that won't trigger a captcha",
|
2019-10-16 19:29:56 +00:00
|
|
|
"value": false
|
|
|
|
},
|
|
|
|
"CaptchaRegexes": {
|
|
|
|
"value": []
|
2024-05-15 06:25:56 +00:00
|
|
|
},
|
|
|
|
"ConfirmEditEnabledAbuseFilterCustomActions": {
|
|
|
|
"description": "Feature flag to toggle list of available custom actions to enable in AbuseFilter. See AbuseFilterHooks::onAbuseFilterCustomActions",
|
|
|
|
"value": []
|
2019-10-16 19:29:56 +00:00
|
|
|
}
|
2015-05-25 20:25:40 +00:00
|
|
|
},
|
2019-10-16 19:29:56 +00:00
|
|
|
"manifest_version": 2
|
2015-05-25 20:25:40 +00:00
|
|
|
}
|