-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathextension.json
91 lines (91 loc) · 2.63 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
{
"name": "RemovePII",
"version": "3.0.0",
"author": "Universal Omega",
"url": "https://github.com/miraheze/RemovePII",
"descriptionmsg": "removepii-desc",
"namemsg": "removepii-extensionname",
"license-name": "GPL-3.0-or-later",
"type": "specialpage",
"requires": {
"MediaWiki": ">= 1.42.0"
},
"MessagesDirs": {
"RemovePII": [
"i18n"
]
},
"ExtensionMessagesFiles": {
"RemovePIIAliases": "RemovePIIAliases.php"
},
"AutoloadNamespaces": {
"Miraheze\\RemovePII\\": "includes/"
},
"JobClasses": {
"RemovePIIJob": "Miraheze\\RemovePII\\RemovePIIJob"
},
"LogActionsHandlers": {
"removepii/*": "LogFormatter"
},
"LogHeaders": {
"removepii": "removepii-log-header"
},
"LogNames": {
"removepii": "removepii-log-name"
},
"LogTypes": [
"removepii"
],
"ConfigRegistry": {
"RemovePII": "MediaWiki\\Config\\GlobalVarConfig::newInstance"
},
"AvailableRights": [
"generate-random-hash",
"handle-pii"
],
"SpecialPages": {
"GenerateRandomHash": {
"class": "Miraheze\\RemovePII\\SpecialGenerateRandomHash",
"services": [
"ConfigFactory"
]
},
"RemovePII": {
"class": "Miraheze\\RemovePII\\SpecialRemovePII",
"services": [
"ConfigFactory",
"HttpRequestFactory",
"JobQueueGroupFactory",
"UserFactory"
],
"optional_services": [
"CentralAuth.CentralAuthAntiSpoofManager",
"CentralAuth.CentralAuthDatabaseManager",
"CentralAuth.GlobalRenameUserValidator"
]
}
},
"config": {
"RemovePIIAllowedWikis": {
"value": [],
"description": "Set to an array of database names of wikis which RemovePII can be initiated from. Wikis not in this array will have Special:RemovePII disabled. Leave it empty to enable it on all wikis."
},
"RemovePIIHashPrefixOptions": {
"value": [],
"description": "Array of available hash prefix options that are selectable in Special:GenerateRandomHash."
},
"RemovePIIHashPrefix": {
"value": "",
"description": "The default hash prefix to use when generating a hash through Special:GenerateRandomHash. Will be used when $wgRemovePIIHashPrefixOptions is empty."
},
"RemovePIIAutoPrefix": {
"value": "",
"description": "The prefix to automatically use when using Special:RemovePII to remove personal identifiable information or rename a user. Automatically prepends, if using DPA validation this should be set, otherwise it will fail to validate."
},
"RemovePIIDPAValidationEndpoint": {
"value": "",
"description": "Set to the full URL of an API to validate DPA IDs. {dpa_id} is replaced with the ID, and {username} is replaced with the old username. Leave as an empty string to disable validation."
}
},
"manifest_version": 2
}