Jump to content


From Meta, a Wikimedia project coordination wiki

SWViewer (direct link) is a user-friendly web app that is used to detect and revert vandalism, spam, and other types of destructive edits made at various Wikimedia projects. With a simple and intuitive UI, you can monitor changes in real-time. In doing so, it provides a lot of features; such as rollback, speedy deletion and edit source.


Edit diff screen on desktop
Edit diff screen on mobile

To open the application in a browser (tested in Chrome, Firefox, Safari), click the following link:

Open in browser

Install PWA

If you use Google Chrome or a Chromium-based browser, you can install SWViewer as a WebApp on desktop as well as mobile, instructions for which are as follows:

Install user script

SWViewer.js is a user script that basically adds a link under the "Tools" section on the sidebar to access the SWViewer tool easily from any page.


SWViewer may only be used by editors with a Wikimedia account. Additionally, the account must meet some qualifications to reduce the probability of users misidentifying vandalism. The account must have rollback on a project they want to use or global rollback.

The application works in two modes called global queue and local queue.

Global queue receives edits from small wikis plus some additional wikis, and is enabled by default for stewards, global sysops and global rollbackers.

Local queue is enabled when a user doesn't have any global user right but has rollback on one or more projects. In the local queue, users will only get edits where they have rollback. Users who don't have global rights can also enable global queue from settings and perform undo, but they should have 1000 edits globally (except test wikis) and should not have more than one active block.


The following features make SWViewer distinctive:

  1. Cross-wiki patrolling: SWViewer uses EventStreams to get edits and since EventStreams has edits from all WMF wikis. It can be used on any wiki or combination of wikis.
  2. Simple interface: SWViewer's interface is a minimal one. This is due to a belief that SWViewer should focus exclusively on vandalism/spam removal, rather than becoming a general-purpose framework for a diversity of unconstructive edits. When more information is needed, the interface provides links to relevant pages of the wiki, which open in a normal web browser.
  3. Cross-platform: Developed mainly in JavaScript, PHP and hosted on Toolforge, SWViewer is cross-platform. It can be easily used on any device including mobile phones and has a mobile-friendly interface.



SWViewer users can add the userbox to their page. You will also be listed in Wikimedians who use SWViewer.

Code Result
{{Template:User SWViewer}}
This user uses SWViewer to revert vandalism.

See also