This repository has been archived by the owner on Apr 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathextension.json
150 lines (149 loc) · 4.49 KB
/
extension.json
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
{
"name": "CentralCheckUser",
"version": "1.0.0",
"author": [
"Examknow",
],
"descriptionmsg": "globalcheckuser-desc",
"license-name": "GPL-2.0-or-later",
"type": "specialpage",
"requires": {
"MediaWiki": ">= 1.35.0"
},
"ExtensionMessagesFiles": {
"GlobalCheckUserAliases": "GlobalCheckUser.alias.php"
},
"config": {
"GlobalCheckUserCIDRLimit": {
"value": {
"IPv4": 16,
"IPv6": 19
},
"description": "Shortest CIDR limits that can be checked in any individual range check"
},
"GlobalCheckUserMaxBlocks": {
"value": 200,
"description": "Maximum number of users that can be mass blocked simultaneously"
},
"GCUPublicKey": {
"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."
},
"GCUDMaxAge": {
"value": 7776000,
"description": "How long to keep GlobalCheckUser data (in seconds)"
},
"GlobalCheckUserForceSummary": {
"value": false,
"description": "Whether to force checkusers into giving a reason for each check they do through Special:GlobalCheckUser."
},
"GlobalCheckUserCAMultiLock": {
"value": false,
"description": "Whether to add a link to Special:MultiLock by CentralAuth to the Special:GlobalCheckUser'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' ] ]"
},
"GlobalCheckUserCAtoollink": {
"value": true,
"description": "Whether to add links to CentralAuth in Special:GlobalCheckUser results"
},
"GlobalCheckUserGBtoollink": {
"value": true,
"description": "Whether to add links for globally blocking accounts shown in Special:GlobalCheckUser results"
},
"GlobalCheckUserLogLogins": {
"value": true,
"description": "Whether login attempts should be logged in GlobalCheckUser logs"
},
"GlobalCheckUserWikiId": {
"value": 1,
"description": "ID of the wiki to use for CheckUser Data Storage"
}
},
"Hooks": {
"RecentChange_save": [
"GlobalCheckUserHooks::updateCheckUserData"
],
"EmailUser": [
"GlobalCheckUserHooks::updateCUEmailData"
],
"User::mailPasswordInternal": [
"GlobalCheckUserHooks::updateCUPasswordResetData"
],
"LocalUserCreated": [
"GlobalCheckUserHooks::onLocalUserCreated"
],
"UserMergeAccountFields": [
"GlobalCheckUserHooks::onUserMergeAccountFields"
],
"RenameUserSQL": [
"GlobalCheckUserHooks::onRenameUserSQL"
],
"ArticleEditUpdatesDeleteFromRecentchanges": [
"GlobalCheckUserHooks::maybePruneIPData"
],
"ParserTestTables": [
"GlobalCheckUserHooks::checkUserParserTestTables"
],
"LoadExtensionSchemaUpdates": [
"GlobalCheckUserHooks::onLoadExtensionSchemaUpdates"
],
"ContributionsToolLinks": [
"GlobalCheckUserHooks::checkUserContributionsLinks"
],
"PerformRetroactiveAutoblock": [
"GlobalCheckUserHooks::doRetroactiveAutoblock"
],
"AuthManagerLoginAuthenticateAudit": [
"GlobalCheckUserHooks::onAuthManagerLoginAuthenticateAudit"
]
},
"MessagesDirs": {
"CheckUser": [
"i18n",
"i18n/api"
]
},
"ResourceModules": {
"ext.checkUser": {
"scripts": "modules/ext.checkuser.cidr.js",
"dependencies": [
"mediawiki.util"
]
},
"ext.checkUser.caMultiLock": {
"scripts": "modules/ext.checkuser.caMultiLock.js",
"dependencies": [
"mediawiki.util"
],
"messages": [
"globalcheckuser-centralauth-multilock"
]
}
},
"ResourceFileModulePaths": {
"localBasePath": "",
"remoteExtPath": "CheckUser"
},
"GroupPermissions": {
"globalcheckuser": {
"globalcheckuser": true,
"globalcheckuser-log": true,
"block": true
}
},
"AvailableRights": [
"globalcheckuser",
"globalcheckuser-log"
],
"SpecialPages": {
"GlobalCheckUser": "SpecialGlobalCheckUser",
"GlobalCheckUserLog": "SpecialGlobalCheckUserLog"
},
"AutoloadClasses": {
"GlobalCheckUserHooks": "includes/GlobalCheckUserHooks.php",
"GlobalCheckUserLogPager": "includes/GlobalCheckUserLogPager.php",
"SpecialGlobalCheckUser": "includes/specials/SpecialGlobalCheckUser.php",
"SpecialGlobalCheckUserLog": "includes/specials/SpecialGlobalCheckUserLog.php",
"GlobalCheckUserEncryptedData": "includes/GlobalCheckUserEncryptedData.php",
},
"manifest_version": 2
}