Extension:SimpleAntiSpam

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

Release status: stable

Implementation Page action
Description Adds a simple spam/bot check to forms
Author(s) Ryan Schmidt (SkizzerzTalk)
Last version 1.0
MediaWiki 1.11+
License None (Public Domain)
Download Download snapshot
Subversion [Help]

Browse source code
View code changes

Hooks used
EditPage::showEditForm:fields

EditPage::attemptSave

Check usage (experimental)

[edit] What can this extension do?

SimpleAntiSpam extension adds a hidden form field to the edit page as an anti-spam/anti-bot check. If the field is not blank when the page is saved, the save will be aborted and a generic "you triggered the spam filter" page will be shown.

[edit] Installation

  1. Download the files into $IP/extensions/SimpleAntiSpam
  2. Add the following to LocalSettings.php:
    require_once("$IP/extensions/SimpleAntiSpam/SimpleAntiSpam.php");
  3. Installation can now be verified through your wiki's Special:Version page


Personal tools
Namespaces
Variants
Actions
Site
Support
Download
Development
Communication
Print/export
Toolbox