Open main menu

Extension:Antispam

MediaWiki extensions manual
OOjs UI icon advanced.svg
Anti-spam by CleanTalk
Release status: stable
Implementation User activity, Page action
Description Client extension for cloud anti-spam service CleanTalk.org.
Author(s) Denis Shagimuratov
Latest version 2.1 (2019-01-15)
MediaWiki 1.19+
PHP PHP 5.3+
Database changes No
License GNU General Public License 2.0 or later
Download
Parameters
  • $wgCTAccessKey
  • $wgCTNewEditsOnly
Added rights
  • cleantalk-bypass
Hooks used
AbortNewAccount
UserCreateForm
EditFilter
EditPage::showEditForm:initial
UploadForm:initial
UploadVerifyFile
SkinAfterBottomScripts
TitleMove
Translate the Antispam extension if it is available at translatewiki.net
Check usage and version matrix.

The Anti-spam extension is a client-side application for a commercial cloud anti-spam service, cleantalk.org.

The extension does not make use of CAPTCHAs.

The CleanTalk service costs money. The third-party server records all filtered comments, registration and other MediaWiki log entries in a "Log of spam attacks" for up to 45 days.

CleanTalk has got an option named "Spam FireWall", this option allows blocking IP addresses that have been used by spammers in the past.

Real-Time Email Address Existence Validation

To validate that users sign up with their real email address, the CleanTalk server will perform e-mail account existence checks via SMTP.

Private blacklists

The extension allows blocking or whitelisting e-mails for registration using wildcards, for example "*@mail.com" will block/allow every address ending on @mail.com.

Blocking users by country

The external service can be used to automatically block comments and registrations from specific countries.

Word blacklist

Comments that contain specific words can be forbidden.

Contents

ScreenshotsEdit

InstallationEdit

  • Download and place the file(s) in a directory called Antispam in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/Antispam/Antispam.php";
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration parametersEdit

To run extension

  • Get Access key
http://cleantalk.org/register?platform=mediawiki
  • Type Access key in parameter
$wgCTAccessKey
  • Set true or false in parameter
$wgCTNewEditsOnly

Frequently Asked QuestionsEdit

  • Should I change anything in the extension's settings or in my CleanTalk Control Panel when I switch my website from HTTP to HTTPS or vice versa?

No, the extension will work regardless of the protocol.