-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathextension.json
92 lines (92 loc) · 1.9 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
{
"name": "AntiSpoof",
"author": "Brion Vibber",
"url": "https://www.mediawiki.org/wiki/Extension:AntiSpoof",
"descriptionmsg": "antispoof-desc",
"license-name": "GPL-2.0-or-later",
"type": "antispam",
"requires": {
"MediaWiki": ">= 1.43"
},
"GroupPermissions": {
"sysop": {
"override-antispoof": true
},
"bureaucrat": {
"override-antispoof": true
}
},
"AvailableRights": [
"override-antispoof"
],
"GrantPermissions": {
"createaccount": {
"override-antispoof": true
}
},
"APIModules": {
"antispoof": "MediaWiki\\Extension\\AntiSpoof\\ApiAntiSpoof"
},
"MessagesDirs": {
"AntiSpoof": [
"i18n",
"i18n/api"
]
},
"AutoloadNamespaces": {
"MediaWiki\\Extension\\AntiSpoof\\": "includes/"
},
"AuthManagerAutoConfig": {
"preauth": {
"AntiSpoofPreAuthenticationProvider": {
"class": "MediaWiki\\Extension\\AntiSpoof\\AntiSpoofPreAuthenticationProvider",
"services": [
"PermissionManager"
]
}
}
},
"callback": "MediaWiki\\Extension\\AntiSpoof\\Hooks::onRegistration",
"Hooks": {
"LoadExtensionSchemaUpdates": "schema",
"LocalUserCreated": "main",
"RenameUserComplete": "main",
"DeleteAccount": "usermerge"
},
"HookHandlers": {
"main": {
"class": "MediaWiki\\Extension\\AntiSpoof\\Hooks"
},
"usermerge": {
"class": "MediaWiki\\Extension\\AntiSpoof\\UserMergeHooks"
},
"schema": {
"class": "MediaWiki\\Extension\\AntiSpoof\\SchemaHooks"
}
},
"config": {
"AntiSpoofAccounts": {
"description": "Whether to stop spoofed accounts from being created. When false, only log.",
"value": true,
"public": true
},
"AntiSpoofProhibitedCharacters": {
"description": "List of characters prohibited from use in your wiki.",
"value": [
"̷",
"̸",
"⁄",
"∕",
"⎮",
"⧶",
"⧸",
"⫻",
"⫽",
"/"
],
"public": true
}
},
"load_composer_autoloader": true,
"manifest_version": 2
}