Jump to content

User:Awesome Aasim/rcpatrol

From Wikipedia, the free encyclopedia
RC Patrol
DescriptionA tool that allows for you to more quickly review and revert harmful edits.
Statusbeta
UpdatedSeptember 13, 2023
    (13 months ago)
Skins
  • Vector
  • Monobook
  • Timeless
  • Minerva
  • Modern
SourceUser:Awesome Aasim/rcpatrol.js
GitHub repositoryWikiRCPatrol

RC Patrol is a tool that can be used to patrol recent changes. It is designed to revert potentially problematic edits (with a customizable edit summary) quickly and efficiently. There is a dropdown that makes reverting and warning the user a piece of cake, and there is also a bunch of keyboard shortcuts.

Unlike Huggle, there is no program installation required, just add the script code to your common.js page. This runs directly out of your browser on Wikipedia, unlike SWViewer. That said, because the tool is relatively new, there may be bugs from time to time.

Start Patrolling Changes! (requires script to be installed)

Installation

[edit]

Add

mw.loader.load('//en.wiki.x.io/w/index.php?title=User:Awesome_Aasim/rcpatrol.js&action=raw&ctype=text/javascript');

to Special:MyPage/common.js.

Or click the "Install" button with one-click installer.

How it works

[edit]

Upon load, a batch (i.e. list) of edits are downloaded. Then the first diff in the sequence from newest to oldest is loaded. After reaching the end of the batch (which may take a long time), the page will download the next batch. And so on. At any time, you can download the next batch by clicking "Refresh".

Features

[edit]

Simple

[edit]

RC patrol eliminates the need to download or install any programs or trying to sign in separately. RC patrol is simple, lightweight, and easy to use.

Fast

[edit]

RC patrol automatically loads the next edit and automatically sends warnings as appropriate when using the dropdown and its keyboard shortcuts. In a matter of a few minutes, you can patrol dozens of changes right from your browser. Many of the buttons do their magic instantly, with no confirmation or prompts.

Work right away. No intro screen or logging in. Minimal waiting. No additional steps. Get to work with the single click of a button.

Lightweight

[edit]

RC patrol requires no configuration and works right out of your browser.

Friendly

[edit]

Thank an editor for an edit with a single button. Send warning messages and revert at the same time with the simple click of a button. No need to navigate complicated dialogs to find the right warning. All messages are quickly posted onto the user page. No need to click on diffs from a complicated list of endless changes. Best of all, no complicated menus. Just the changes you need.

Cross-wiki support (coming soon)

[edit]

The hope is that this script can be used on other wikis, both Wikimedia and non-Wikimedia, and that the configuration file for this wiki is put on a different page and dynamically loaded. Eventually, the configuration will be editable and saved securely on a JS file.

Mobile Support

[edit]

Run this tool on your iPad, Android, or iPhone. No need to go to an app store or to install an emulator; just run and you are done.

Minimal and Touch-friendly

[edit]

No need to view long menus when finding a page action. And no need to worry about clicking the wrong button from a dropdown menu. MediaWiki's built-in OOUI is inherently touch- and user-friendly and supports mobile. And each button is labeled clearly so you know what effect the button will have on the diff without having to second guess.

Keyboard Shortcuts

[edit]

Unlike Huggle or SWViewer, where you can only use one keyboard shortcut to rollback and warn, you can use many keyboard shortcuts to fill in different summaries, rollback and warn the editor in question. Don't know what keyboard shortcut produces what warning? Hover your cursor over the warning in the dropdown menu to see the keyboard shortcut. And having to press control and alt/option serves as a safeguard to minimize accidental rollbacks and warnings.

Customizable Revert Summary

[edit]

Give any explanation as to why you reverted the user's edits. Note that warnings are not sent for custom reasons.

Batches

[edit]

Review edits in batches. Older vandalism may go unnoticed after a period of time. Reviewing edits in batches makes sure that no edit is missed, and when there are multiple people using the tool, every edit gets reviewed more than once, providing a level of redundancy. Soon, you will be able to change the size of these batches from the default to any number you want. Always want to review the latest edit? Choose smaller batches. Larger batches are good for finding and reverting old vandalism.

Same Familiar Diff

[edit]

No more need to blindly review changes; see the effect that the changes have on the article. Your diff will have the latest revision underneath, just as you would expect out of desktop.

Less Distractions, Less Overwhelming

[edit]

No more flying colors down the side of the window as diffs load; just view the diff and the actions to take on the diff. Allows you to work faster and more efficiently.

Use

[edit]

You need to be a rollbacker or an admin to use all features of this script. You can launch this script by following this link. If you are not a rollbacker or admin and you attempt to use the script, you will still be able to review pages, but you will not be able to revert edits.

Why do you need to be a rollbacker or an admin to use this script? Because this script is dependent on the "rollback" functionality.

The purpose of this script is to provide a lightweight Huggle alternative. It is simpler and requires virtually no configuration whatsoever. The script allows you to quickly browse through recent changes.

Basic Keyboard Shortcuts

[edit]

Always hold ctrl+alt before activating a keyboard shortcut.

  • Rollback - r
  • Next edit - Space
  • Previous edit - ,
  • Thanks - =

Mouse over an option in the dropdown menu to see the keyboard shortcut for that option.

For warnings, use ctrl+alt+⇧ Shift before pressing.

To Do

[edit]
  • Customizable preferences
  • Support for loading unpatrolled diffs
  • Quick editing form