Extension:Bad Behavior

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

Release status: stable

Implementation User rights
Description Blocks link spam and the robots which deliver it to your blog, forum, wiki or CMS.
Author(s) Michael Hampton (Error28talk)
Latest version 2.2.14 (2013-04-09)
MediaWiki 1.17+
PHP 5+
Database changes Yes
License GNU Lesser General Public License
Download bad-behavior.ioerror.us
Parameters
  • $wgBadBehaviorTimer
Hooks used
BeforePageDisplay

Translate the Bad Behavior extension if possible

Check usage and version matrix; code metrics

The Bad Behavior extension automatically blocks harvesters, spam bots, and other funky stuff.

Bad Behavior rejects spam bots outright, sending an appropriate 4xx error code. [...]

Instead of looking at the spam, we look at the spammer. Bad Behavior analyzes the HTTP headers, IP address, and other metadata regarding the request to determine if it is spammy or malicious. [...]

When Bad Behavior looks at a request, it determines if the request matches a profile of known malicious or spammy activity, and falls outside the bounds of a normal human browsing the web. If so, the request is blocked. [...]

But because Bad Behavior intends to block no legitimate users whatsoever, it must necessarily let some things pass. Consider it your first line of defense, and back it up with a secondary line of defense in the form of a more traditional anti-spam tool for your platform.

About page

By default, it adds a cookie which can be disabled with appropriate configuration.

It has some problems if you are using cache, in particular: 1) serving of cached wiki pages can't be blocked, only form submission will; 2) IP of last reader of a page can be shown to the next.

Download[edit | edit source]

Bad Behavior on MediaWiki

See also[edit | edit source]