mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-15 11:59:33 +00:00
ac97e69999
Since this extension uses extension.json, it already requires 1.25+ so no need to keep the old code around. Change-Id: I31b96b0939d5321be31889422cfc703c9c6c2baa
112 lines
3.1 KiB
JSON
112 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",
|
|
"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
|
|
}
|