mediawiki-extensions-Confir.../extension.json
Bartosz Dziewoński 5c9e5cfccd Remove backwards-compatibility code using APIEditBeforeSave hook
It was only needed for MediaWiki prior to 1.25
(09a5febb7b024c0b6585141bb05cba13a642f3eb).
We no longer support those versions after
1d08dd07b8.

Bug: T137832
Change-Id: I27f244631e9dcd160bffff70349e5034f2a537ea
2016-06-16 17:54:54 +02:00

118 lines
2.8 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",
"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"
],
"UnitTestsList": [
"ConfirmEditHooks::onUnitTestsList"
]
},
"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": [],
"wgCaptchaStorageClass": "CaptchaSessionStore",
"wgCaptchaSessionExpiration": 1800,
"wgCaptchaBadLoginExpiration": 300,
"wgCaptchaBadLoginPerUserExpiration": 600,
"ceAllowConfirmedEmail": false,
"wgCaptchaBadLoginAttempts": 3,
"wgCaptchaBadLoginPerUserAttempts": 20,
"wgCaptchaWhitelist": false,
"wgCaptchaRegexes": []
},
"manifest_version": 1
}