![]() | |
![]() | |
Description | Diff viewer for reverting vandalism |
---|---|
Author(s) | User:Ingenuity With contributions from: |
Updated | May 24, 2023 |
Source | User:Ingenuity/AntiVandal.js |
GitHub repository | AntiVandal |
AntiVandal is a web-based counter-vandalism tool. It is similar to Huggle in interface and usage, though it is a more lightweight version.
Requirements
Due to the ability of the script to revert edits extremely quickly, it is required to have the rollback right or be included on the script's whitelist. If you do not have the rollback right, you can make a request at the permissions page.
Installation
Method 1
Go to Preferences → Gadgets → Advanced, check "Install scripts without having to manually edit JavaScript files", and save. Reload this page, and there should be a button which says "install".
Method 2
Add {{subst:lusc|User:Ingenuity/AntiVandal.js}}
to your common.js.
Usage
After the script is installed, beside your preferences button, there will now be a link which says "AntiVandal". Clicking this will activate the script.
Controls
- Q rolls back the current edit, and warns the user who made it with escalating warnings.
- R rolls back the current edit but does not warn the user.
- Space or ] goes to the next edit.
- [ goes to the previous edit.
Menus
- Warn allows you to select a warning template to give to a user instead of using the default.
- AIV can add a report for the user at WP:AIV (note that this will report the user who made the currently selected edit, so you must report them before reverting).
- UAA can add a report for the user at WP:UAA
- Revert with summary lets you enter in a summary to be used when reverting, and will not warn the user.
Userbox
You can add {{User:Wesoree/Userboxes/AV}}
to your userpage, which will display as:
![]() | This user uses AntiVandal to revert vandalism. |
You can add {{AntiVandal topicon}}
to your userpage too, which will display in the top-right corner as seen on this page.