mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-23 15:56:50 +00:00
a801949300
Existed since 1.39 in I3fa9747e0ea970c5de39e2da8603e1bba9388a69 Change-Id: I17a648aaf7644d00cd82966a88dab8f33d2e317f
177 lines
3.9 KiB
JSON
177 lines
3.9 KiB
JSON
{
|
|
"@doc": "Please read README.md",
|
|
"name": "ConfirmEdit",
|
|
"version": "1.6.0",
|
|
"author": [
|
|
"Brion Vibber",
|
|
"Florian Schmidt",
|
|
"Sam Reed",
|
|
"..."
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:ConfirmEdit",
|
|
"descriptionmsg": "captcha-desc",
|
|
"license-name": "GPL-2.0-or-later",
|
|
"type": "antispam",
|
|
"requires": {
|
|
"MediaWiki": ">= 1.43"
|
|
},
|
|
"GroupPermissions": {
|
|
"*": {
|
|
"skipcaptcha": false
|
|
},
|
|
"user": {
|
|
"skipcaptcha": false
|
|
},
|
|
"autoconfirmed": {
|
|
"skipcaptcha": false
|
|
},
|
|
"bot": {
|
|
"skipcaptcha": true
|
|
},
|
|
"sysop": {
|
|
"skipcaptcha": true
|
|
}
|
|
},
|
|
"AvailableRights": [
|
|
"skipcaptcha"
|
|
],
|
|
"GrantPermissions": {
|
|
"basic": {
|
|
"skipcaptcha": true
|
|
}
|
|
},
|
|
"ExtensionFunctions": [
|
|
"MediaWiki\\Extension\\ConfirmEdit\\Hooks::confirmEditSetup"
|
|
],
|
|
"SpecialPages": {
|
|
"Captcha": "MediaWiki\\Extension\\ConfirmEdit\\Specials\\SpecialCaptcha"
|
|
},
|
|
"MessagesDirs": {
|
|
"ConfirmEdit": [
|
|
"i18n",
|
|
"i18n/api"
|
|
]
|
|
},
|
|
"ExtensionMessagesFiles": {
|
|
"ConfirmEditAlias": "ConfirmEdit.alias.php"
|
|
},
|
|
"AutoloadNamespaces": {
|
|
"MediaWiki\\Extension\\ConfirmEdit\\": "includes/"
|
|
},
|
|
"ResourceModules": {
|
|
"ext.confirmEdit.editPreview.ipwhitelist.styles": {
|
|
"styles": "ext.confirmEdit.editPreview.ipwhitelist.styles.css"
|
|
},
|
|
"ext.confirmEdit.visualEditor": {
|
|
"scripts": "ve-confirmedit/ve.init.mw.CaptchaSaveErrorHandler.js",
|
|
"dependencies": "ext.confirmEdit.CaptchaInputWidget"
|
|
},
|
|
"ext.confirmEdit.simpleCaptcha": {
|
|
"styles": "ext.confirmEdit.simpleCaptcha.css"
|
|
}
|
|
},
|
|
"attributes": {
|
|
"VisualEditor": {
|
|
"PluginModules": [
|
|
"ext.confirmEdit.visualEditor"
|
|
]
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "resources",
|
|
"remoteExtPath": "ConfirmEdit/resources"
|
|
},
|
|
"HookHandlers": {
|
|
"ConfirmEditHooks": {
|
|
"class": "MediaWiki\\Extension\\ConfirmEdit\\Hooks",
|
|
"services": [
|
|
"MainWANObjectCache"
|
|
]
|
|
},
|
|
"AbuseFilterHooks": {
|
|
"class": "MediaWiki\\Extension\\ConfirmEdit\\AbuseFilterHooks",
|
|
"services": [
|
|
"MainConfig"
|
|
]
|
|
}
|
|
},
|
|
"Hooks": {
|
|
"EditPageBeforeEditButtons": "ConfirmEditHooks",
|
|
"EmailUserForm": "ConfirmEditHooks",
|
|
"EmailUser": "ConfirmEditHooks",
|
|
"PageSaveComplete": "ConfirmEditHooks",
|
|
"TitleReadWhitelist": "ConfirmEditHooks",
|
|
"AlternateEditPreview": "ConfirmEditHooks",
|
|
"ResourceLoaderRegisterModules": "ConfirmEditHooks",
|
|
"EditPage::showEditForm:fields": "ConfirmEditHooks",
|
|
"EditFilterMergedContent": "ConfirmEditHooks",
|
|
"APIGetAllowedParams": "ConfirmEditHooks",
|
|
"AuthChangeFormFields": "ConfirmEditHooks",
|
|
"AbuseFilterCustomActions": "AbuseFilterHooks"
|
|
},
|
|
"AuthManagerAutoConfig": {
|
|
"preauth": {
|
|
"CaptchaPreAuthenticationProvider": {
|
|
"class": "MediaWiki\\Extension\\ConfirmEdit\\Auth\\CaptchaPreAuthenticationProvider",
|
|
"sort": 10
|
|
}
|
|
}
|
|
},
|
|
"config": {
|
|
"CaptchaWhitelistIP": {
|
|
"value": false
|
|
},
|
|
"Captcha": {
|
|
"value": null
|
|
},
|
|
"CaptchaTriggers": {
|
|
"value": {
|
|
"edit": false,
|
|
"create": false,
|
|
"sendemail": false,
|
|
"addurl": true,
|
|
"createaccount": true,
|
|
"badlogin": true,
|
|
"badloginperuser": true
|
|
},
|
|
"merge_strategy": "array_plus"
|
|
},
|
|
"CaptchaTriggersOnNamespace": {
|
|
"value": {},
|
|
"merge_strategy": "array_plus_2d"
|
|
},
|
|
"CaptchaStorageClass": {
|
|
"value": "MediaWiki\\Extension\\ConfirmEdit\\Store\\CaptchaSessionStore"
|
|
},
|
|
"CaptchaSessionExpiration": {
|
|
"value": 1800
|
|
},
|
|
"CaptchaBadLoginExpiration": {
|
|
"value": 300
|
|
},
|
|
"CaptchaBadLoginPerUserExpiration": {
|
|
"value": 600
|
|
},
|
|
"AllowConfirmedEmail": {
|
|
"value": false
|
|
},
|
|
"CaptchaBadLoginAttempts": {
|
|
"value": 3
|
|
},
|
|
"CaptchaBadLoginPerUserAttempts": {
|
|
"value": 20
|
|
},
|
|
"CaptchaWhitelist": {
|
|
"value": false
|
|
},
|
|
"CaptchaRegexes": {
|
|
"value": []
|
|
},
|
|
"ConfirmEditEnabledAbuseFilterCustomActions": {
|
|
"description": "Feature flag to toggle list of available custom actions to enable in AbuseFilter. See AbuseFilterHooks::onAbuseFilterCustomActions",
|
|
"value": []
|
|
}
|
|
},
|
|
"manifest_version": 2
|
|
}
|