summaryrefslogtreecommitdiff
blob: 72336eb345b3fad8682db8f4ccd8d778b1926f13 (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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
{
	"name": "CheckUser",
	"version": "2.5",
	"author": [
		"Tim Starling",
		"Aaron Schulz"
	],
	"url": "https://www.mediawiki.org/wiki/Extension:CheckUser",
	"descriptionmsg": "checkuser-desc",
	"license-name": "GPL-2.0-or-later",
	"type": "specialpage",
	"requires": {
		"MediaWiki": ">= 1.35.0",
		"platform": {
			"ext-openssl": "*"
		}
	},
	"ExtensionMessagesFiles": {
		"CheckUserAliases": "CheckUser.alias.php"
	},
	"config": {
		"CheckUserCIDRLimit": {
			"value": {
				"IPv4": 16,
				"IPv6": 19
			},
			"description": "Shortest CIDR limits that can be checked in any individual range check"
		},
		"CheckUserMaxBlocks": {
			"value": 200,
			"description": "Maximum number of users that can be mass blocked simultaneously"
		},
		"CUPublicKey": {
			"value": "",
			"description": "Public key to encrypt private data that may need to be read later. Generate a public key with something like: `openssl genrsa -out cu.key 2048; openssl rsa -in cu.key -pubout > cu.pub` and paste the contents of cu.pub here."
		},
		"CUDMaxAge": {
			"value": 7776000,
			"description": "How long to keep CheckUser data (in seconds)"
		},
		"CheckUserForceSummary": {
			"value": false,
			"description": "Whether to force checkusers into giving a reason for each check they do through Special:CheckUser."
		},
		"CheckUserCAMultiLock": {
			"value": false,
			"description": "Whether to add a link to Special:MultiLock by CentralAuth to the Special:CheckUser's mass block form. This requires CentralAuth extension to be installed on the wiki. To enable this, set this to an array with a central wiki's database name and an array with the name(s) of the global group(s) to add the link for. Example: [ 'centralDB' => 'metawiki', 'groups' => [ 'steward' ] ]"
		},
		"CheckUserCAtoollink": {
			"value": false,
			"description": "Whether to add links to CentralAuth in Special:CheckUser results"
		},
		"CheckUserGBtoollink": {
			"value": false,
			"description": "Whether to add links for globally blocking accounts shown in Special:CheckUser results"
		},
		"CheckUserLogLogins": {
			"value": false,
			"description": "Whether login attempts should be logged in CheckUser logs"
		},
		"CheckUserLogSuccessfulBotLogins": {
			"value": true,
			"description": "Whether successful login attempts of accounts in the 'bot' user group should be logged in CheckUser logs (assuming wgCheckUserLogLogins is also true)"
		},
		"CheckUserEnableSpecialInvestigate": {
			"value": false,
			"description": "Enables Special:Investigate"
		},
		"CheckUserLogAdditionalRights": {
			"value": [],
			"description": "Additional rights to be used when adding CheckUser log entries"
		},
		"CheckUserMaximumRowCount": {
			"value": 5000,
			"description": "Maximum number of rows in cu_changes to be used in any query"
		}
	},
	"APIListModules": {
		"checkuser": "ApiQueryCheckUser",
		"checkuserlog": "ApiQueryCheckUserLog"
	},
	"HookHandlers": {
		"preferences": {
			"class": "MediaWiki\\CheckUser\\HookHandler\\Preferences"
		}
	},
	"Hooks": {
		"RecentChange_save": [
			"CheckUserHooks::updateCheckUserData",
			"CheckUserHooks::maybePruneIPData"
		],
		"EmailUser": "CheckUserHooks::updateCUEmailData",
		"User::mailPasswordInternal": "CheckUserHooks::updateCUPasswordResetData",
		"LocalUserCreated": "CheckUserHooks::onLocalUserCreated",
		"UserMergeAccountFields": "CheckUserHooks::onUserMergeAccountFields",
		"RenameUserSQL": "CheckUserHooks::onRenameUserSQL",
		"ParserTestTables": "CheckUserHooks::checkUserParserTestTables",
		"LoadExtensionSchemaUpdates": "CheckUserHooks::onLoadExtensionSchemaUpdates",
		"ContributionsToolLinks": "CheckUserHooks::checkUserContributionsLinks",
		"PerformRetroactiveAutoblock": "CheckUserHooks::doRetroactiveAutoblock",
		"AuthManagerLoginAuthenticateAudit": "CheckUserHooks::onAuthManagerLoginAuthenticateAudit",
		"SpecialPage_initList": "CheckUserHooks::onSpecialPage_initList",
		"GetPreferences": "preferences"
	},
	"MessagesDirs": {
		"CheckUser": [
			"i18n",
			"i18n/api"
		]
	},
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"SpecialInvestigate": 20261100
			}
		}
	},
	"ResourceModules": {
		"ext.checkUser": {
			"localBasePath": "modules/ext.checkUser",
			"remoteExtPath": "CheckUser/modules/ext.checkUser",
			"scripts": [
				"cidr.js",
				"caMultiLock.js"
			],
			"dependencies": [
				"mediawiki.util"
			],
			"messages": [
				"checkuser-centralauth-multilock"
			]
		},
		"ext.checkUser.investigate.styles": {
			"localBasePath": "modules/ext.checkUser.investigate.styles/",
			"remoteExtPath": "CheckUser/modules/ext.checkUser.investigate.styles/",
			"styles": [
				"investigate.less"
			]
		},
		"ext.checkUser.investigate": {
			"localBasePath": "modules/ext.checkUser.investigate",
			"remoteExtPath": "CheckUser/modules/ext.checkUser.investigate",
			"packageFiles": [
				"init.js",
				"tables.js",
				"copy.js",
				"blockform.js",
				{
					"name": "message.json",
					"callback": "MediaWiki\\CheckUser\\ToolLinksMessages::getParsedMessage",
					"callbackParam": "checkuser-investigate-compare-toollinks"
				}
			],
			"dependencies": [
				"jquery.tablesorter",
				"oojs-ui-widgets",
				"oojs-ui.styles.icons-editing-core",
				"oojs-ui.styles.icons-editing-advanced",
				"oojs-ui.styles.icons-interactions",
				"oojs-ui.styles.icons-moderation",
				"oojs-ui.styles.icons-user",
				"mediawiki.storage",
				"mediawiki.Title",
				"mediawiki.Uri",
				"mediawiki.widgets"
			],
			"messages": [
				"checkuser-investigate-compare-copy-button-label",
				"checkuser-investigate-compare-copy-message-label",
				"checkuser-investigate-compare-table-button-add-ip-targets-label",
				"checkuser-investigate-compare-table-button-add-user-targets-label",
				"checkuser-investigate-compare-table-button-add-user-targets-log-label",
				"checkuser-investigate-compare-table-button-checks-label",
				"checkuser-investigate-compare-table-button-contribs-label",
				"checkuser-investigate-compare-table-button-filter-label",
				"checkuser-investigate-subtitle-cancel-button-label",
				"checkuser-investigate-subtitle-continue-button-label"
			]
		},
		"ext.checkUser.investigateblock.styles": {
			"localBasePath": "modules/ext.checkUser.investigateblock.styles",
			"remoteExtPath": "CheckUser/modules/ext.checkUser.investigateblock.styles",
			"styles": [
				"investigateblock.less"
			]
		},
		"ext.checkUser.investigateblock": {
			"localBasePath": "modules/ext.checkUser.investigateblock",
			"remoteExtPath": "CheckUser/modules/ext.checkUser.investigateblock",
			"packageFiles": [
				"investigateblock.js"
			],
			"dependencies": [
				"oojs-ui-widgets"
			]
		},
		"ext.guidedTour.tour.checkuserinvestigateform": {
			"localBasePath": "modules/ext.guidedTour.tour.checkuserinvestigateform",
			"remoteExtPath": "CheckUser/modules/ext.guidedTour.tour.checkuserinvestigateform",
			"scripts": [
				"checkuserinvestigateform.js"
			],
			"dependencies": "ext.guidedTour",
			"messages": [
				"checkuser-investigate-tour-targets-title",
				"checkuser-investigate-tour-targets-desc"
			]
		},
		"ext.guidedTour.tour.checkuserinvestigate": {
			"localBasePath": "modules/ext.guidedTour.tour.checkuserinvestigate",
			"remoteExtPath": "CheckUser/modules/ext.guidedTour.tour.checkuserinvestigate",
			"scripts": [
				"checkuserinvestigate.js"
			],
			"dependencies": [
				"ext.guidedTour",
				"ext.checkUser.investigate"
			],
			"messages": [
				"checkuser-investigate-tour-useragents-title",
				"checkuser-investigate-tour-useragents-desc",
				"checkuser-investigate-tour-addusertargets-title",
				"checkuser-investigate-tour-addusertargets-desc",
				"checkuser-investigate-tour-filterip-title",
				"checkuser-investigate-tour-filterip-desc",
				"checkuser-investigate-tour-block-title",
				"checkuser-investigate-tour-block-desc",
				"checkuser-investigate-tour-copywikitext-title",
				"checkuser-investigate-tour-copywikitext-desc"
			]
		}
	},
	"GroupPermissions": {
		"checkuser": {
			"checkuser": true,
			"checkuser-log": true
		}
	},
	"AvailableRights": [
		"checkuser",
		"checkuser-log"
	],
	"SpecialPages": {
		"CheckUser": {
			"class": "SpecialCheckUser",
			"services": [
				"LinkBatchFactory"
			]
		},
		"CheckUserLog": {
			"class": "SpecialCheckUserLog",
			"services": [
				"LinkBatchFactory"
			]
		}
	},
	"AutoloadClasses": {
		"CheckUserHooks": "includes/CheckUserHooks.php",
		"CheckUserLogPager": "includes/CheckUserLogPager.php",
		"SpecialCheckUser": "includes/specials/SpecialCheckUser.php",
		"SpecialCheckUserLog": "includes/specials/SpecialCheckUserLog.php",
		"CheckUserEncryptedData": "includes/CheckUserEncryptedData.php",
		"ApiQueryCheckUser": "includes/api/ApiQueryCheckUser.php",
		"ApiQueryCheckUserLog": "includes/api/ApiQueryCheckUserLog.php",
		"PopulateCheckUserTable": "maintenance/populateCheckUserTable.php"
	},
	"ServiceWiringFiles": [
		"includes/ServiceWiring.php"
	],
	"AutoloadNamespaces": {
		"MediaWiki\\CheckUser\\": "src/"
	},
	"TestAutoloadNamespaces": {
		"MediaWiki\\CheckUser\\Test\\": "tests/phpunit/"
	},
	"load_composer_autoloader": true,
	"manifest_version": 2
}