User:魔琴/Vandoom

From Meta, a Wikimedia project coordination wiki
(Redirected from User:ZbVl/VD)
Vandoom
Skin supportAll skins except for MinervaNeue
Browser supportDoes not support IE11

Vandoom is a global gadget to confront with vandals.

You can use the gadget to check one's local and global information, mass rollback and auto revert one's contributions, and warn a user with canned messages.

Some modules are not tested. You're responsible for your own edits.

Report bugs here, here, or via email.

Install[edit]

Paste this code to Special:MyPage/global.js.

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:魔琴/Vandoom/load.js&action=raw&ctype=text/javascript');

If you use IE, please use the the following code:

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:%E9%AD%94%E7%90%B4/Vandoom/load.js&action=raw&ctype=text/javascript');

Apperance[edit]

Portlet links for Vandoom will appear on a user page, user talk page, contributions page or any page targeting a user or an IP address or range if you're not using MinervaNeue as skin. If you're using Twinkle, Vandoom will appear next to it.

  • For Vector (2010 or 2022), a drop-down menu labored "VD" will appear around the "More" menu.
  • For Timeless, a portlet area labeled "Vandoom" will appear in the right navigation area.

Functions[edit]

A typical Vandoom menu looks like this:

Vandoom
l-C
l-EC
l-F *
c-F *
LFR **
MRbk **
Warn ***
AUd **
CA *
ST
g-C
g-UC ***
IP-w ****
IP-p ****

User info[edit]

The l-C, l-EC, CA, ST, g-C and g-UClinks are for checking local or global information about the user (or the IP address/range).

User info
Link Function Notes
l-C The user's local contributions (at Special:Contributions) Will open the page right on the tab.
l-EC Edit counter on XTools
l-F The user's local uploads (at Special:ListFiles) For registered users only.
Contrary to l-C, the link would open a new tab.
c-F The user's upload history on Commons (at c:Special:ListFiles) For registered users only.
CA The user's SUL information (at m:Special:CentralAuth) For registered users only.
Will go to Meta instead of the local Special:CentralAuth.
ST Use the Stalk toy to view local blocks on an IP
(and some other interesting information about registered users).
g-C Global Contributions on Xtools
g-UC Global User Contributions on Toolforge Sort by date by default.
Does not support IP range. See phab:T192826.

Except for l-C, every link will open a new tab via JavaScript when clicked.

IP info[edit]

For single IP addresses, the gadget provide links to check their information.

Every link will open a new tab via JavaScript when clicked.

Load FakeRollback[edit]

The LFR link, when clicked, will load WhitePhosphorus's FakeRollback.js, a gadget that enables you to disguise yoursef as a rollbacker. The link will only appear if you're on a Special:Contributions page. And you won't see it if you're a steward, a local sysop, or a rollbacker, global or not.

If you would like to load FakeRollback automatically, please use paste the following code to Special:MyPage/global.js:

mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:WhitePhosphorus/js/FakeRollback.js&action=raw&ctype=text/javascript');

Mass rollback[edit]

The MRbk module is for mass rollbacking. The link, same as LFR, will appear if you're on a Special:Contributions page. The function will let you rollback everything you can on the current page.

You won't see the link if you cannot rollback anything.

Warn[edit]

You can use the function to Warn users with canned messages. Click the "Warn" link and choose the right type and level you will warn the user with. You can add additional text to the end of the canned message. Don't sign.

Will not appear if the target is an IP range.

The script uses the core function of the independent gadget Glow. Undesired effects may emerge when you use Glow and Vandoom simutaniously, so please use one and disable the other.

Auto undo[edit]

AUd is for Auto Undo. You can use the module to automatically undo a user's edits, either locally or globally, optionally requesting speedy deletion for anything the user creates. Aside from a solid username or an IP address, IP ranges or /regex/ are accepted, too.

This script is dangerous, so only users with a global edit count higher than 8192, as well as stewards, global sysops and global rollbackers, have access to this function.

Please avoid using this script on vandals who may revert-war with you. Do not feed the trolls.

Miscellaneous[edit]

  • The method of adding portlet links is from Twinkle.

Known bugs[edit]

  • Does not support MinervaNeue.
    • You think I'm gonna fix that?
  • Does not support IE.
    • Partially fixed. But some edit modules are still unavailabe because I used ES6.
    • Will not fix. MediaWiki needs ES6 now.
  • g-UC does not support IP range.
  • The warn module wouldn't work when the user is using Flow.
    • Maybe fix it later.
  • The auto undo module does not detect whether the user or IP is locally blocked.
    • Maybe support it later.
    • Supported, I guess. Need feedback.
  • There are no menus on Cologne Blue, Modern and Monobook.
    • Maybe support them later. (Does anyone even use those skins?)
  • Discussion Tools is causing preview problems in the warn module.
    • I will use CSS to fix that...
  • When using vector (2010 or 2022) as skin, the Vandoom dropdown label have strange apperance on arwiki and pswiki.
    • Does not know why.
    • Fixed. (Feb 2023)
  • The warn messages posted by the warn module looks weird when the site writes rtl.
    • Planning to use <span> tags to fix it.
  • MRbk won't work with fake rollback links.
    • Searching for a workaround.
  • There are some bugs in need of concern in the Auto Undo module.