Extension:AntiBot

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png
AntiBot

Release status: stable

Implementation User activity
Description Simple framework for protection against spambots
Author(s) Tim Starlingtalk
License Any OSI approved license
Download
Hooks used
EditFilterMerged

Translate the AntiBot extension if it is available at translatewiki.net

Check usage and version matrix; code metrics
This is only a framework. You have to either get plugins or program them. There is one plugin shipped with the extension.

AntiBot is a simple framework for spambot checks and trigger payloads. The aim is to allow for private development and limited collaboration on filters for common spam tools such as XRumer. (XRumer is actively maintained to keep up to date with the latest antispam measures in forum, blog and wiki software.) I don't want to make it easy for spam tools developers by giving them our source code.

Download[edit | edit source]

You can download the extension directly from the MediaWiki source code repository (browse code). You can get:

One of the extensions tags

Not all extensions have tags. Some extensions have tags for each release, in which case those tags have the same stability as the release. To download a tag

  • Go to the tags list
  • Click the name of the tag you want to download
  • Click "snapshot"
The latest version of one of the extensions branches

Each extension has a master branch containing the latest code (might be unstable). Extensions can have further branches as well.

  • Go to the branches list
  • Click the branch name
  • Click "snapshot"
A snapshot made during the release of a MediaWiki version.

This might be unstable and is not guaranteed to work with the associated MediaWiki version.

After you've got the code, save it into the extensions/AntiBot directory of your wiki.

If you are familiar with git and have shell access to your server, you can obtain the extension, with all its tags and branches, as follows:

cd extensions
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/AntiBot.git

You may also want to download (or write) some additional plugins.

Installation[edit | edit source]

To install, put this in LocalSettings.php:

require_once "$IP/extensions/AntiBot/AntiBot.php";

And then copy the plugins you want, from the available directory into the active directory.


Language: English  • italiano • 日本語