summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/ConfirmEdit/extension.json
blob: 3a18b5c51c6621b7ce4d18f92f7404c183f3df18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
	"@doc": "Please read README.md",
	"name": "ConfirmEdit",
	"version": "1.5.1",
	"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.28"
	},
	"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/store/CaptchaStore.php",
		"CaptchaSessionStore": "includes/store/CaptchaSessionStore.php",
		"CaptchaCacheStore": "includes/store/CaptchaCacheStore.php",
		"CaptchaHashStore": "includes/store/CaptchaHashStore.php",
		"CaptchaTriggers": "includes/CaptchaTriggers.php",
		"CaptchaSpecialPage": "includes/specials/SpecialCaptcha.php",
		"CaptchaPreAuthenticationProvider": "includes/auth/CaptchaPreAuthenticationProvider.php",
		"CaptchaAuthenticationRequest": "includes/auth/CaptchaAuthenticationRequest.php"
	},
	"ResourceModules": {
		"ext.confirmEdit.editPreview.ipwhitelist.styles": {
			"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",
		"AuthChangeFormFields": "ConfirmEditHooks::onAuthChangeFormFields"
	},
	"AuthManagerAutoConfig": {
		"preauth": {
			"CaptchaPreAuthenticationProvider":{
				"class": "CaptchaPreAuthenticationProvider",
				"sort": 10
			}
		}
	},
	"config": {
		"CaptchaWhitelistIP": false,
		"Captcha": null,
		"CaptchaTriggers": {
			"edit": false,
			"create": false,
			"sendemail": false,
			"addurl": true,
			"createaccount": true,
			"badlogin": true,
			"badloginperuser": true,
			"_merge_strategy": "array_plus"
		},
		"CaptchaTriggersOnNamespace": {
			"_merge_strategy": "array_plus_2d"
		},
		"CaptchaStorageClass": "CaptchaSessionStore",
		"CaptchaSessionExpiration": 1800,
		"CaptchaBadLoginExpiration": 300,
		"CaptchaBadLoginPerUserExpiration": 600,
		"AllowConfirmedEmail": false,
		"CaptchaBadLoginAttempts": 3,
		"CaptchaBadLoginPerUserAttempts": 20,
		"CaptchaWhitelist": false,
		"CaptchaRegexes": []
	},
	"manifest_version": 1
}