| { |
| "name": "Regular Expression Spam Block", |
| "version": "1.8", |
| "author": [ |
| "Bartek Łapiński", |
| "Alexandre Emsenhuber", |
| "Jack Phoenix" |
| ], |
| "license-name": "GPL-2.0-or-later", |
| "url": "https://www.mediawiki.org/wiki/Extension:SpamRegex", |
| "descriptionmsg": "spamregex-desc", |
| "type": "antispam", |
| "requires": { |
| "MediaWiki": ">= 1.34.0" |
| }, |
| "SpecialPages": { |
| "SpamRegex": "SpecialSpamRegex" |
| }, |
| "MessagesDirs": { |
| "SpamRegex": [ |
| "i18n" |
| ] |
| }, |
| "ExtensionMessagesFiles": { |
| "SpamRegexAliases": "SpamRegex.alias.php" |
| }, |
| "AutoloadClasses": { |
| "ApiSpamRegex": "includes/api/ApiSpamRegex.php", |
| "SpamRegex": "includes/backend/SpamRegex.php", |
| "spamRegexForm": "includes/backend/spamRegexForm.php", |
| "spamRegexList": "includes/backend/spamRegexList.php", |
| "SpecialSpamRegex": "includes/backend/SpecialSpamRegex.php", |
| "SpamRegexHooks": "includes/backend/SpamRegexHooks.php" |
| }, |
| "APIModules": { |
| "spamregex": "ApiSpamRegex" |
| }, |
| "Hooks": { |
| "EditFilter": "SpamRegexHooks::onEditFilter", |
| "MovePageCheckPermissions": "SpamRegexHooks::onMovePageCheckPermissions", |
| "LoadExtensionSchemaUpdates": "SpamRegexHooks::onLoadExtensionSchemaUpdates", |
| "RenameUserComplete": "SpamRegexHooks::onRenameUserComplete", |
| "Comments::isSpam": "SpamRegexHooks::onCommentsIsSpam", |
| "ProblemReportsContentCheck": "SpamRegexHooks::onProblemReportsContentCheck" |
| }, |
| "ResourceFileModulePaths": { |
| "localBasePath": "", |
| "remoteExtPath": "SpamRegex" |
| }, |
| "ResourceModules": { |
| "ext.spamRegex.css": { |
| "styles": "resources/css/ext.spamRegex.css" |
| }, |
| "ext.spamRegex.js": { |
| "scripts": "resources/js/ext.spamRegex.js", |
| "messages": [ |
| "spamregex-error-unblocking" |
| ], |
| "dependencies": [ |
| "mediawiki.api" |
| ] |
| } |
| }, |
| "AvailableRights": [ |
| "spamregex" |
| ], |
| "GroupPermissions": { |
| "staff": { |
| "spamregex": true |
| } |
| }, |
| "manifest_version": 1 |
| } |