User:FlightTime/User scripts

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Here is a list of my customized user scripts, installation instructions and other information.

Diff Permalink[edit]

Diff pages now have links you can copy, looks like Permalink to this diff: Special:Diff/123456789, just click on the box and the contents will be highlighted for copying. Its located just under the pagename. Example: Special:Diff/406801265.

User scripts
Description Permalinks on diff pages
Author FlightTime
Status Stable
First released October 9, 2018
(5 years ago)
 (2018-10-09)
Updated October 12, 2018
(5 years ago)
 (2018-10-12)
Browser support Firefox, Chrome
Skin support ✓[OK] Vector, ✓[OK] Monobook
✓[OK] Modern, ✓[OK] Minervaneue,
✓[OK] Timeless
Source User:Enterprisey/diff-permalink.js

Installation[edit]

importScript('User:FlightTime/diff-permalink.js'); // Backlink: [[User:FlightTime/diff-permalink.js]]

Confirm Logout[edit]

Confirm Logout
Description Requires a conformation on logout
Author FlightTime
Status Beta
First released March 21, 2020
(4 years ago)
 (2020-03-21)
Version 22.03.20
Updated March 22, 2020
(4 years ago)
 (2020-03-22)
Browser support Firefox, Chrome
Skin support ✓[OK] Vector, ✓[OK] Monobook
✓[OK] Modern, ✓[OK] Timeless
Source User:Guywan/Scripts/ConfirmLogout.js

If you click on a logout link, Confirm Logout provides an HTML prompt that asks for confirmation. The prompt may be customised to a certain extent. With default settings, here is what it looks like:

You clicked on a log-out link. Do you want to continue?
NoLog out

Installation[edit]

importScript('User:FlightTime/confirm-logout.js'); // Backlink: [[User:FlightTime/confirm-logout.js]]

Customization[edit]

  • If you would like further customisation, you may make a copy of this script (and please add a backlink).
  • For further customization see here.

User Info[edit]

User info adds an information line below a user's name on their user and talk pages (but not subpages). Namely, this information is gender (if specified), privileges, account age, edit count, and how long ago the user made his/her last edit.

User Info
Description Adds an information line below a user's name
Author FlightTime
Status Stable
First released March 13, 2010
(14 years ago)
 (2010-03-13)
Version 2.1.0
Updated October 5, 2017
(6 years ago)
 (2017-10-05)
Browser support Firefox, Chrome
Skin support ✓[OK] Vector, ✓[OK] Monobook
✓[OK] Modern, ✓[OK] Timeless
Source User:PleaseStand/userinfo.js

Examples[edit]

Two examples of what you might see:

User:Jimbo Wales
A checkuser, founder, oversighter, and administrator, 9 years 1 month old, with 14,153 edits. Last edited 7 days ago.

User talk:Example
A blocked user, 20 minutes old, with 5 edits. Last edited 1 minute ago.

Installation[edit]

importScript('User:FlightTime/userinfo.js'); // Backlink: [[User:FlightTime/userinfo.js]]