Debian Codegraph @

extensions/ConfirmEdit/extension.json

raw symbols SCIP
1 {
2 "@doc": "Please read README.md",
3 "name": "ConfirmEdit",
4 "version": "1.6.0",
5 "author": [
6 "Brion Vibber",
7 "Florian Schmidt",
8 "Sam Reed",
9 "..."
10 ],
11 "url": "https://www.mediawiki.org/wiki/Extension:ConfirmEdit",
12 "descriptionmsg": "captcha-desc",
13 "license-name": "GPL-2.0-or-later",
14 "type": "antispam",
15 "requires": {
16 "MediaWiki": ">= 1.43"
17 },
18 "GroupPermissions": {
19 "*": {
20 "skipcaptcha": false
21 },
22 "user": {
23 "skipcaptcha": false
24 },
25 "autoconfirmed": {
26 "skipcaptcha": false
27 },
28 "bot": {
29 "skipcaptcha": true
30 },
31 "sysop": {
32 "skipcaptcha": true
33 }
34 },
35 "AvailableRights": [
36 "skipcaptcha"
37 ],
38 "GrantPermissions": {
39 "basic": {
40 "skipcaptcha": true
41 }
42 },
43 "ExtensionFunctions": [
44 "MediaWiki\\Extension\\ConfirmEdit\\Hooks::confirmEditSetup"
45 ],
46 "SpecialPages": {
47 "Captcha": "MediaWiki\\Extension\\ConfirmEdit\\Specials\\SpecialCaptcha"
48 },
49 "MessagesDirs": {
50 "ConfirmEdit": [
51 "i18n",
52 "i18n/api"
53 ]
54 },
55 "ExtensionMessagesFiles": {
56 "ConfirmEditAlias": "ConfirmEdit.alias.php"
57 },
58 "AutoloadClasses": {
59 "CaptchaCacheStore": "includes/Store/CaptchaCacheStore.php",
60 "ConfirmEditHooks": "includes/Hooks.php",
61 "MediaWiki\\Extension\\ConfirmEdit\\Hooks": "includes/Hooks.php",
62 "MediaWiki\\Extension\\ConfirmEdit\\Store\\CaptchaCacheStore": "includes/Store/CaptchaCacheStore.php"
63 },
64 "AutoloadNamespaces": {
65 "MediaWiki\\Extension\\ConfirmEdit\\": "includes/",
66 "MediaWiki\\Extension\\ConfirmEdit\\SimpleCaptcha\\": "SimpleCaptcha/"
67 },
68 "ResourceModules": {
69 "ext.confirmEdit.editPreview.ipwhitelist.styles": {
70 "styles": "ext.confirmEdit.editPreview.ipwhitelist.styles.css"
71 },
72 "ext.confirmEdit.visualEditor": {
73 "scripts": "ve-confirmedit/ve.init.mw.CaptchaSaveErrorHandler.js",
74 "dependencies": "ext.confirmEdit.CaptchaInputWidget"
75 },
76 "ext.confirmEdit.simpleCaptcha": {
77 "styles": "../SimpleCaptcha/resources/ext.confirmEdit.simpleCaptcha.css"
78 }
79 },
80 "attributes": {
81 "VisualEditor": {
82 "PluginModules": [
83 "ext.confirmEdit.visualEditor"
84 ]
85 }
86 },
87 "ResourceFileModulePaths": {
88 "localBasePath": "resources",
89 "remoteExtPath": "ConfirmEdit/resources"
90 },
91 "HookHandlers": {
92 "ConfirmEditHooks": {
93 "class": "MediaWiki\\Extension\\ConfirmEdit\\Hooks",
94 "services": [
95 "MainWANObjectCache"
96 ]
97 },
98 "AbuseFilterHooks": {
99 "class": "MediaWiki\\Extension\\ConfirmEdit\\AbuseFilterHooks",
100 "services": [
101 "MainConfig"
102 ]
103 }
104 },
105 "Hooks": {
106 "EditPageBeforeEditButtons": "ConfirmEditHooks",
107 "EmailUserForm": "ConfirmEditHooks",
108 "EmailUser": "ConfirmEditHooks",
109 "PageSaveComplete": "ConfirmEditHooks",
110 "TitleReadWhitelist": "ConfirmEditHooks",
111 "AlternateEditPreview": "ConfirmEditHooks",
112 "ResourceLoaderRegisterModules": "ConfirmEditHooks",
113 "EditPage::showEditForm:fields": "ConfirmEditHooks",
114 "EditFilterMergedContent": "ConfirmEditHooks",
115 "APIGetAllowedParams": "ConfirmEditHooks",
116 "AuthChangeFormFields": "ConfirmEditHooks",
117 "AbuseFilterCustomActions": "AbuseFilterHooks"
118 },
119 "AuthManagerAutoConfig": {
120 "preauth": {
121 "CaptchaPreAuthenticationProvider": {
122 "class": "MediaWiki\\Extension\\ConfirmEdit\\Auth\\CaptchaPreAuthenticationProvider",
123 "sort": 10
124 }
125 }
126 },
127 "config": {
128 "CaptchaClass": {
129 "description": "Set to one of SimpleCaptcha, FancyCaptcha, QuestyCaptcha, ReCaptchaNoCaptcha, hCaptcha, Turnstile, or to a custom PHP subclass of SimpleCaptcha. Defaults to the SimpleCaptcha demo captcha. For example, to use FancyCaptcha: `$wgCaptchaClass = 'FancyCaptcha';`",
130 "value": "SimpleCaptcha"
131 },
132 "CaptchaWhitelistIP": {
133 "description": "DEPRECATED! Use CaptchaBypassIPs",
134 "value": false
135 },
136 "CaptchaBypassIPs": {
137 "description": "A list of IP addresses that can skip the captcha",
138 "value": false
139 },
140 "CaptchaTriggers": {
141 "description": "Actions which can trigger a captcha",
142 "value": {
143 "edit": false,
144 "create": false,
145 "sendemail": false,
146 "addurl": true,
147 "createaccount": true,
148 "badlogin": true,
149 "badloginperuser": true
150 },
151 "merge_strategy": "array_plus"
152 },
153 "CaptchaTriggersOnNamespace": {
154 "description": "Allows forcing/turning off Captcha in specific namespaces.",
155 "value": {},
156 "merge_strategy": "array_plus_2d"
157 },
158 "CaptchaStorageClass": {
159 "description": "PHP class used for storing Captcha related session data.",
160 "value": "MediaWiki\\Extension\\ConfirmEdit\\Store\\CaptchaSessionStore"
161 },
162 "CaptchaSessionExpiration": {
163 "description": "Number of seconds a captcha session should last in the data cache before expiring when managing through CaptchaCacheStore class.",
164 "value": 1800
165 },
166 "CaptchaBadLoginExpiration": {
167 "description": "Number of seconds after a bad login (from a specific IP address) that a captcha will be shown to that client on the login form to slow down password-guessing bots. A longer expiration time of $wgCaptchaBadLoginExpiration * 300 will also be applied against a login attempt count of $wgCaptchaBadLoginAttempts * 30.",
168 "value": 300
169 },
170 "CaptchaBadLoginPerUserExpiration": {
171 "description": "Number of seconds after a bad login (for a specific user account) that a captcha will be shown to that client on the login form to slow down password-guessing bots. A longer expiration time of $wgCaptchaBadLoginExpiration * 300 will be applied against a login attempt count of $wgCaptchaBadLoginAttempts * 30.",
172 "value": 600
173 },
174 "AllowConfirmedEmail": {
175 "description": "Allow users who have confirmed their email addresses to post URL links without being shown a captcha.",
176 "value": false
177 },
178 "CaptchaBadLoginAttempts": {
179 "description": "Number of bad login attempts (from a specific IP address) before triggering the captcha. 0 means the captcha is presented on the first login. A captcha will also be triggered if the number of failed logins exceeds $wgCaptchaBadLoginAttempts * 30 in a period of $wgCaptchaBadLoginExpiration * 300.",
180 "value": 3
181 },
182 "CaptchaBadLoginPerUserAttempts": {
183 "description": "Number of bad login attempts (for a specific user account) before triggering the captcha. 0 means the captcha is presented on the first login. A captcha will also be triggered if the number of failed logins exceeds $wgCaptchaBadLoginPerUserAttempts * 30 in a period of $wgCaptchaBadLoginPerUserExpiration * 300.",
184 "value": 20
185 },
186 "CaptchaWhitelist": {
187 "description": "DEPRECATED: Use CaptchaIgnoredUrls",
188 "value": false
189 },
190 "CaptchaIgnoredUrls": {
191 "description": "Urls that won't trigger a captcha",
192 "value": false
193 },
194 "CaptchaRegexes": {
195 "description": "Additional regexes to check for. Use full regexes; can match things other than URLs such as junk edits. If the new version matches one and the old version doesn't, show the captcha screen.",
196 "value": []
197 },
198 "ConfirmEditEnabledAbuseFilterCustomActions": {
199 "description": "Feature flag to toggle list of available custom actions to enable in AbuseFilter. See AbuseFilterHooks::onAbuseFilterCustomActions.",
200 "value": []
201 }
202 },
203 "RateLimits": {
204 "badcaptcha": {
205 "ip": [
206 15,
207 60
208 ],
209 "newbie": [
210 15,
211 60
212 ],
213 "user": [
214 30,
215 60
216 ]
217 }
218 },
219 "manifest_version": 2
220 }