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": {
|
2021-05-06 16:25:34 +00:00
|
|
|
"MediaWiki": ">= 1.37.0"
|
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"
|
|
|
|
},
|
|
|
|
"AutoloadClasses": {
|
2022-04-08 16:40:15 +00:00
|
|
|
"CaptchaCacheStore": "includes/Store/CaptchaCacheStore.php",
|
|
|
|
"ConfirmEditHooks": "includes/Hooks.php",
|
|
|
|
"MediaWiki\\Extension\\ConfirmEdit\\Hooks": "includes/Hooks.php",
|
|
|
|
"MediaWiki\\Extension\\ConfirmEdit\\Store\\CaptchaCacheStore": "includes/Store/CaptchaCacheStore.php"
|
|
|
|
},
|
|
|
|
"AutoloadNamespaces": {
|
|
|
|
"MediaWiki\\Extension\\ConfirmEdit\\": "includes/",
|
|
|
|
"MediaWiki\\Extension\\ConfirmEdit\\SimpleCaptcha\\": "SimpleCaptcha/"
|
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",
|
2020-04-15 11:32:58 +00:00
|
|
|
"dependencies": "ext.confirmEdit.CaptchaInputWidget",
|
2019-10-16 19:29:56 +00:00
|
|
|
"targets": [
|
|
|
|
"desktop",
|
|
|
|
"mobile"
|
|
|
|
]
|
2018-12-07 18:23:39 +00:00
|
|
|
},
|
|
|
|
"ext.confirmEdit.simpleCaptcha": {
|
|
|
|
"styles": "../SimpleCaptcha/resources/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": {
|
2022-04-08 16:40:15 +00:00
|
|
|
"class": "MediaWiki\\Extension\\ConfirmEdit\\Hooks"
|
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",
|
2022-04-08 16:40:15 +00:00
|
|
|
"EditPage::showEditForm:fields": "MediaWiki\\Extension\\ConfirmEdit\\Hooks::showEditFormFields",
|
|
|
|
"EditFilterMergedContent": "MediaWiki\\Extension\\ConfirmEdit\\Hooks::confirmEditMerged",
|
|
|
|
"APIGetAllowedParams": "MediaWiki\\Extension\\ConfirmEdit\\Hooks::onAPIGetAllowedParams",
|
|
|
|
"AuthChangeFormFields": "MediaWiki\\Extension\\ConfirmEdit\\Hooks::onAuthChangeFormFields"
|
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": {
|
|
|
|
"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": {
|
|
|
|
"value": false
|
|
|
|
},
|
|
|
|
"CaptchaRegexes": {
|
|
|
|
"value": []
|
|
|
|
}
|
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
|
|
|
}
|