Vandalbot

From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by Nakon (talk | contribs) at 01:42, 26 August 2006 (Reverted edits by 75.3.133.233 to last version by MaxSem). It may differ significantly from the current version.

A vandalbot is a script which automatically performs some kind of edit or similar operation to a wiki at high rate. When you see one, you have to know what to do. Read this page now -- don't leave it until the heat is on!

For wikipedians who are not admins, vandal bots can be reported at vandalism reports.

Sysop response

The basic response to a vandalbot is to revert its actions using sysop-only features. You can revert page-editing without sysop powers, but that's slow and tedious. You're better off finding a sysop. If there are no sysops around, a steward can make you one, or make one for you. There are currently 23 stewards. Read the list and find out who they are.

If a sysop sees a page-editing vandalbot (that is, one that edits existing pages), they should do the following:

  1. Block it
  2. Go to the contributions page
  3. If the bot already received "bot" privilege by bureaucrats, append "&bot=1" to the contributions page URL (may need to be ?bot=1). Approved bots do not show in recent changes.
  4. Click on all the rollback links

Note that it's easier to click on all the rollback links if you have them loading in an inactivated tab/window, i.e. "in the background". To do this in Netscape or Mozilla, go to Edit > Preferences, click "Tabbed Browsing" and enable "Load links in the background" and opening tabs on "middle-click and control-click". This allows one-click rollbacks. The best IE method requires two clicks -- shift-click on the link then click again to get back to the contribs page. Alternatively, as your hand will be on the keyboard anyway, shift-click the link then press alt-tab to return to the previous window (that is, the one in which you clicked the link).

Reverting page creation is slightly harder. You just need to use the standard deletion interface.

It may also be useful to bring the incident to the attention of the community so that others can be on the look out for similar attacks soon after.

Steward response: getting interwiki help

If there are very few or no sysops present on the wiki which is attacked, you may need to get help from other wikis. Stewards can help by:

  • Helping you to tell everyone about the problem
  • Making anyone who wants to help a temporary sysop

To get help from a steward, you could try posting a message to their user talk page, posting a message to the English village pump, and asking for help on the IRC channels (this is the fastest way). Here are a few talk pages of stewards, to get you started: Angela, Anthere, Mav, Waerth, Datrio, Jon Harald Søby.

When to get developer help

Some problems are much easier for a developer to fix than for ordinary users. Call a developer if you see:

  • SEO spam. If someone posts links to a commercial website in many different pages, contact a developer or an administrator on Meta. Post the URL on Talk:Spam blacklist. The spammer is trying to improve their google ranking by making lots of incoming links. They often spam many different wikis. A developer or Meta administrator can add their site to the list of bad URLs. You can't save a page with a bad URL in it.
  • Multiple, widely spaced IP addresses. Sometimes vandals will switch IP addresses just by hanging up their modem and redialling. Any sysop can block their whole ISP using range blocks. But sometimes vandals use multiple proxy servers from all over the world. A developer can slow a bot like this down with filters, tarpits, throttles and other such arcane devices. But it will still be up to the sysops to revert the edits.
  • Large scale page creation (hundreds of pages). Pages can be deleted without making an entry in the deletion log, or saving them to the archive for undeletion. Large scale deletion by a developer generally requires just 3 or 4 queries regardless of the scale of the attack, but carries with it the risk of permanent deletion of innocent pages.

How to contact a developer

Usually developers can be found on the #wikimedia-tech or #mediawiki IRC channels, on irc.freenode.net . Make sure you give some indication of the scale of the attack -- how many pages, what edit rate, etc. Wikipedia gets vandalised all the time; merely saying "the wiki is being vandalised" probably won't get their attention.

See also