Jump to content

User:Awesome Aasim/quicknote

From Wikipedia, the free encyclopedia
Quick Note
The quick note script leaving a friendly message for an editor.
DescriptionAdds "quick note" links that allows you to quickly leave a message to an editor from a diff view.
Author(s)User:Awesome Aasim
First releasedMay 16, 2020; 4 years ago (2020-05-16)
UpdatedMay 19, 2020; 4 years ago (2020-05-19)
Browsersall
Skinsall
SourceUser:Awesome Aasim/quicknote.js

Script that adds a "quick note" button to diffs that allows you to communicate with editors. This script is inspired by the "quick note" functionality on wikiHow.

Installation

[edit]
importScript("User:Awesome Aasim/quicknote.js");

to Special:MyPage/common.js

or

mw.loader.load("https://en.wikipedia.org/wiki/User:Awesome Aasim/quicknote.js?action=raw&ctype=text/javascript");

to m:Special:MyPage/global.js

Instructions

[edit]

Simple. All you do is click on the "quick note" link by the user you want to leave a message when in a diff, and you can leave a personal message. There are a few preloaded messages that you can use by clicking on "Basic thanks" and "Coach for bad". "Basic thanks" will leave a friendly message thanking the editor for making the edit. It will not use the thanks extension. "Coach for bad" will leave a message designed to give guidance to new editors. Of course, you can always add a warning template (by doing "subst:") with this method.

WikiText works in these "quick note" boxes.

If you encounter any errors, you will see them in a notification in the corner of the screen. In any case, the quick note box will close automatically after it has tried posting the message.

Please let me know of any bugs that you may encounter.

If the quick note button does not work the first time, try reloading the page.

Adding messages

[edit]

Messages for the Quick Note script can be added here. Note you have to be an interface admin to add messages. If you are not an interface admin, you can still click the "Submit an edit request" button to request a message be added.