summaryrefslogtreecommitdiff
blob: c37548935d206504ea08916119db75cf663c7255 (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
{
	"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.35.0"
	},
	"GroupPermissions": {
		"sysop": {
			"override-antispoof": true
		},
		"bureaucrat": {
			"override-antispoof": true
		}
	},
	"AvailableRights": [
		"override-antispoof"
	],
	"GrantPermissions": {
		"createaccount": {
			"override-antispoof": true
		}
	},
	"APIModules": {
		"antispoof": "ApiAntiSpoof"
	},
	"MessagesDirs": {
		"AntiSpoof": [
			"i18n",
			"i18n/api"
		]
	},
	"AutoloadClasses": {
		"AntiSpoof": "includes/AntiSpoof.php",
		"AntiSpoofHooks": "includes/AntiSpoofHooks.php",
		"SpoofUser": "includes/SpoofUser.php",
		"AntiSpoofAuthenticationRequest": "includes/AntiSpoofAuthenticationRequest.php",
		"AntiSpoofPreAuthenticationProvider": "includes/AntiSpoofPreAuthenticationProvider.php",
		"ApiAntiSpoof": "includes/ApiAntiSpoof.php"
	},
	"AuthManagerAutoConfig": {
		"preauth": {
			"AntiSpoofPreAuthenticationProvider": {
				"class": "AntiSpoofPreAuthenticationProvider"
			}
		}
	},
	"Hooks": {
		"LoadExtensionSchemaUpdates": "AntiSpoofHooks::asUpdateSchema",
		"LocalUserCreated": "AntiSpoofHooks::asLocalUserCreated",
		"RenameUserComplete": "AntiSpoofHooks::asAddRenameUserHook",
		"DeleteAccount": "AntiSpoofHooks::asDeleteAccount"
	},
	"config": {
		"AntiSpoofAccounts": {
			"description": "Whether to stop spoofed accounts from being created. When false, only log.",
			"value": true,
			"public": true
		},
		"AntiSpoofBlacklist": {
			"description": "List of characters prohibited from use in your wiki.",
			"value": [
				"\u0337",
				"\u0338",
				"\u2044",
				"\u2215",
				"\u23AE",
				"\u29F6",
				"\u29F8",
				"\u2AFB",
				"\u2AFD",
				"\uFF0F"
			],
			"public": true
		}
	},
	"load_composer_autoloader": true,
	"manifest_version": 2
}