From WikiTemp, the GBAtemp wiki
Line 5: Line 5:
 
== What it does ==
 
== What it does ==
 
* Delete all recently created pages by a user
 
* Delete all recently created pages by a user
 +
* Rollback all latest edits from a user
 +
* Hide all other revisions from the user
 
* Block the user indefinitely
 
* Block the user indefinitely
* Hide all related recent changes logs (marked as bot edits)
+
* Hide all related recent changes logs (marked as bot edits). They can still be seen by enabling bot edits, or by going to the actual log page.
 
* Logs to the [[Special:Log/spambot|Spambot log]] instead of the [[Special:Log/block|Block Log]].
 
* Logs to the [[Special:Log/spambot|Spambot log]] instead of the [[Special:Log/block|Block Log]].
  

Revision as of 19:37, 14 June 2012

The Spambot extension is a quick extension written for use on the GBAtemp Wiki. It combines a series of actions that are often used against spambots to make it easier for wiki sysops to clean up the wiki.

The extension has only been tested on MediaWiki version 1.18. It may not work on other versions.

What it does

  • Delete all recently created pages by a user
  • Rollback all latest edits from a user
  • Hide all other revisions from the user
  • Block the user indefinitely
  • Hide all related recent changes logs (marked as bot edits). They can still be seen by enabling bot edits, or by going to the actual log page.
  • Logs to the Spambot log instead of the Block Log.

Added rights

Two new rights are added:

  • spambot => Grants the ability to use the Spambot feature and protects from being spambotted.
  • spambot-protected => Protects against being "spambotted" but doesn't give access to the page.

Installation

The source code is available as a zip here. You can extract the Spambot folder to the Extensions directory of your wiki.

To install it to the wiki, add the following in the LocalSettings.php file of your wiki:

require_once( "$IP/extensions/Spambot/Spambot.php" );

You can verify the installation through Special:Version.

The Spambot Special Page will now be available in the Special Pages List under the "users" group.

Changelog

-- Version 1.0 --
* Initial release

-- Version 1.1 --
* Added support for IP addresses
* Can now rollback edits and hide revisions
* Some hardcoded strings -> I18N
* Overall security increase