diff options
Diffstat (limited to 'AntiSpoof/extension.json')
-rw-r--r-- | AntiSpoof/extension.json | 49 |
1 files changed, 32 insertions, 17 deletions
diff --git a/AntiSpoof/extension.json b/AntiSpoof/extension.json index 665553ac..c3754893 100644 --- a/AntiSpoof/extension.json +++ b/AntiSpoof/extension.json @@ -6,7 +6,7 @@ "license-name": "GPL-2.0-or-later", "type": "antispam", "requires": { - "MediaWiki": ">= 1.27.0" + "MediaWiki": ">= 1.35.0" }, "GroupPermissions": { "sysop": { @@ -19,11 +19,19 @@ "AvailableRights": [ "override-antispoof" ], + "GrantPermissions": { + "createaccount": { + "override-antispoof": true + } + }, "APIModules": { "antispoof": "ApiAntiSpoof" }, "MessagesDirs": { - "AntiSpoof": "i18n" + "AntiSpoof": [ + "i18n", + "i18n/api" + ] }, "AutoloadClasses": { "AntiSpoof": "includes/AntiSpoof.php", @@ -47,21 +55,28 @@ "DeleteAccount": "AntiSpoofHooks::asDeleteAccount" }, "config": { - "@doc": "see AntiSpoof.php", - "AntiSpoofAccounts": true, - "AntiSpoofBlacklist": [ - "\u0337", - "\u0338", - "\u2044", - "\u2215", - "\u23AE", - "\u29F6", - "\u29F8", - "\u2AFB", - "\u2AFD", - "\uFF0F" - ] + "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": 1 + "manifest_version": 2 } |