User:Bellezzasolo/Scripts/arb
arb.js | |
---|---|
Description | ARBCOM Requests Buddy |
Author(s) | Bellezzasolo |
Status | β Beta |
Version | 3.1.0 |
Updated | October 10, 2024 (50 days ago) |
Browsers | Any modern browser or IE11+ |
Skins | All |
Source | User:Bellezzasolo/Scripts/arb.js |
ARB, the Arbritration Requests Buddy, is a script designed to automate the ARBCOM Discretionary Sanctions procedure, as well as supporting General Sanctions. The script will list the topic areas for which sanctions exist (populated from {{Ds/topics}} and {{Gs/topics}}. Furthermore, the script is able to automate the procedure for checking that a user has previously been notified of sanctions.
Manual
[edit]This script operates as a Twinkle extension. Once you have installed it, it will appear alongside other Twinkle options, as "ARB". It functions much like the Talkback module, as it only appears when invoked in userspace.
Checking Sanction Notices
[edit]On opening, the script will present a list of discretionary sanctions. It will still be checking the user's history. Once it's done, green text above the currently selected sanction (applies to general sanctions too) Sanction list loaded will appear. Now, when you select a sanction (reselect the currently selected sanction if necessary), it will either appear blank above the sanction, or red text will appear. If this happens, the text is a link to the notification. The script only checks for notices in the last year, in accordance with policy.
Placing a notice
[edit]Once you decide to place a notice, due to the Edit Filter, in the first run of the script, you will get a warning message. You must restart the script. On the second run of the script, the notice will be placed successfully. If you place a general sanctions notice, the script will also attempt to log the notice on the appropriate page, albeit the script is limited to a standard format.
Administrator Only Features
[edit]Administrator only features are fairly obvious, as you'll know if your an administrator! If not, they don't show. Unless you're me, as I have to test this stuff (as best I can)!
General Block
[edit]There's not a lot to be said about this option. It opens the standard Twinkle block dialog. All the buttons are available, including Arbitration blocks (more on that in the next section). So if you decide to take a normal administrative action, it's there ready and waiting for you.
Arbitration Block
[edit]This is where it gets interesting. Mostly, the options should be familiar from the standard Twinkle block dialog (after all, it's based on it). Notable is the lack of the preset, the script will use {{uw-aeblock}}. You get the standard expiry option, it works the same, likewise with the checkbox options. The reason for the block log works as normal. Block template options are more interesting. As before, you have a linked article field, a reason field, and an "exclude exipry" checkbox. The added feature here is that you can set the sanction area for which the block is being imposed. This will generate links to the case, so you probably don't want to include that in your reason entry. This option will also log the block at WP:AEL for you, with the length of the block and a diff link, under the appropriate section.
Arbitration Sanction
[edit]This option generates an {{AE sanction}} instance on the user's talk page. There is a sanction field (this goes on the user's talk page). There is also a rationale field, and the sanction field (as always). The action field is used to describe your action on WP:AEL, where a log of the enforcement is generated.
Bugs or Suggestions
[edit]Please let me know on my talk page. I'd be appreciative in particular of any admins using this script looking for bugs in administrator features, as they are more likely to go wrong.