mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-13 18:07:00 +00:00
113 lines
3.1 KiB
JSON
113 lines
3.1 KiB
JSON
{
|
|
"@doc": "Please read README.md",
|
|
"name": "ConfirmEdit",
|
|
"version": "1.4.0",
|
|
"author": [
|
|
"Brion Vibber",
|
|
"Florian Schmidt",
|
|
"Sam Reed",
|
|
"..."
|
|
],
|
|
"url": "https://www.mediawiki.org/wiki/Extension:ConfirmEdit",
|
|
"descriptionmsg": "captcha-desc",
|
|
"license-name": "GPL-2.0+",
|
|
"type": "antispam",
|
|
"GroupPermissions": {
|
|
"*": {
|
|
"skipcaptcha": false
|
|
},
|
|
"user": {
|
|
"skipcaptcha": false
|
|
},
|
|
"autoconfirmed": {
|
|
"skipcaptcha": false
|
|
},
|
|
"bot": {
|
|
"skipcaptcha": true
|
|
},
|
|
"sysop": {
|
|
"skipcaptcha": true
|
|
}
|
|
},
|
|
"AvailableRights": [
|
|
"skipcaptcha"
|
|
],
|
|
"ExtensionFunctions": [
|
|
"ConfirmEditHooks::confirmEditSetup"
|
|
],
|
|
"SpecialPages": {
|
|
"Captcha": "CaptchaSpecialPage"
|
|
},
|
|
"MessagesDirs": {
|
|
"ConfirmEdit": [
|
|
"i18n"
|
|
]
|
|
},
|
|
"ExtensionMessagesFiles": {
|
|
"ConfirmEditAlias": "ConfirmEdit.alias.php"
|
|
},
|
|
"AutoloadClasses": {
|
|
"ConfirmEditHooks": "includes/ConfirmEditHooks.php",
|
|
"SimpleCaptcha": "SimpleCaptcha/Captcha.php",
|
|
"CaptchaStore": "includes/CaptchaStore.php",
|
|
"CaptchaSessionStore": "includes/CaptchaStore.php",
|
|
"CaptchaCacheStore": "includes/CaptchaStore.php",
|
|
"CaptchaHashStore": "includes/CaptchaStore.php",
|
|
"CaptchaSpecialPage": "includes/specials/SpecialCaptcha.php",
|
|
"CaptchaPreAuthenticationProvider": "includes/auth/CaptchaPreAuthenticationProvider.php",
|
|
"CaptchaAuthenticationRequest": "includes/auth/CaptchaAuthenticationRequest.php"
|
|
},
|
|
"callback": "ConfirmEditHooks::onRegistration",
|
|
"ResourceModules": {
|
|
"ext.confirmEdit.editPreview.ipwhitelist.styles": {
|
|
"position": "top",
|
|
"styles": "ext.confirmEdit.editPreview.ipwhitelist.styles.css"
|
|
}
|
|
},
|
|
"ResourceFileModulePaths": {
|
|
"localBasePath": "resources",
|
|
"remoteExtPath": "ConfirmEdit/resources"
|
|
},
|
|
"Hooks": {
|
|
"EditPageBeforeEditButtons": "ConfirmEditHooks::confirmEditPage",
|
|
"EmailUserForm": "ConfirmEditHooks::injectEmailUser",
|
|
"EmailUser": "ConfirmEditHooks::confirmEmailUser",
|
|
"PageContentSaveComplete": "ConfirmEditHooks::onPageContentSaveComplete",
|
|
"EditPage::showEditForm:fields": "ConfirmEditHooks::showEditFormFields",
|
|
"EditFilterMergedContent": "ConfirmEditHooks::confirmEditMerged",
|
|
"APIGetAllowedParams": "ConfirmEditHooks::APIGetAllowedParams",
|
|
"APIGetParamDescription": "ConfirmEditHooks::APIGetParamDescription",
|
|
"TitleReadWhitelist": "ConfirmEditHooks::onTitleReadWhitelist",
|
|
"AlternateEditPreview": "ConfirmEditHooks::onAlternateEditPreview"
|
|
},
|
|
"config": {
|
|
"_prefix": "",
|
|
"wgCaptchaWhitelistIP": false,
|
|
"wgCaptcha": null,
|
|
"wgCaptchaClass": "SimpleCaptcha",
|
|
"wgCaptchaTriggers": {
|
|
"edit": false,
|
|
"create": false,
|
|
"sendemail": false,
|
|
"addurl": true,
|
|
"createaccount": true,
|
|
"badlogin": true,
|
|
"badloginperuser": true,
|
|
"_merge_strategy": "array_plus"
|
|
},
|
|
"wgCaptchaTriggersOnNamespace": {
|
|
"_merge_strategy": "array_plus_2d"
|
|
},
|
|
"wgCaptchaStorageClass": "CaptchaSessionStore",
|
|
"wgCaptchaSessionExpiration": 1800,
|
|
"wgCaptchaBadLoginExpiration": 300,
|
|
"wgCaptchaBadLoginPerUserExpiration": 600,
|
|
"ceAllowConfirmedEmail": false,
|
|
"wgCaptchaBadLoginAttempts": 3,
|
|
"wgCaptchaBadLoginPerUserAttempts": 20,
|
|
"wgCaptchaWhitelist": false,
|
|
"wgCaptchaRegexes": []
|
|
},
|
|
"manifest_version": 1
|
|
}
|