Jump to content

User:CanonNi/Scripts/AlertAssistant

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by CanonNi (talk | contribs) at 09:30, 30 December 2024. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
AlertAssistant
DescriptionEasily alert users about contentious topics.
Author(s)'''[[User:CanonNi]]''' (talkcontribs)
StatusStable
First releasedJune 18, 2024; 12 months ago (2024-06-18)
UpdatedDecember 30, 2024; 5 months ago (2024-12-30)
SkinsTested on Vector, should work for other skins.
SourceGithub: [1]

This script is used to easily alert users about contentious topics. It uses the {{Alert}} and {{Alert/first}} templates. For UI, it previously used Morebits (Twinkle-like), but now uses OOUI (Mediawiki-like). Wow, such modern, very tool.

Installation instructions

Hint: It's much easier if you get ScriptInstaller, then navigate to User:CanonNi/Scripts/AlertAssistant.js and click "Install" at the top.

However, here's the manual method:

  1. Place {{subst:iusc|User:CanonNi/Scripts/AlertAssistant.js}} on Special:MyPage/common.js or a skin-specific page, like Special:MyPage/vector.js.
  2. Clear your cache and enjoy!

Usage

Note that the script will only load in the User talk: namespace.

To use the script:

  1. Click "Alert" in the Tools section on the right of your screen (Vector)
  2. Select the topic in the dropdown menu
  3. Choose whether to use {{Alert/first}} (intro) or {{Alert}} (alert)
  4. Click "send"

And that's it! Plain and simple. Feel free to test the script on User talk:Sandbox for user warnings.