Jump to content

User:Chlod/Scripts/UserHighlighter

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Chlod (talk | contribs) at 16:34, 8 February 2020 (created info page). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
UserHighlighter
Author(s)theopolisme, Bellezzasolo, Amorymeltzer, Pythoncoder, Chlod
StatusStable
UpdatedJanuary 7, 2020; 5 years ago (2020-01-07)
BrowsersFirefox
SkinsVector
SourceUser:Chlod/Scripts/GlobalUserToolbox.js

UserHighlighter is a script that highlights links to userpages, user talk pages, and contribs pages of administrators, as well as other user groups as listed below. Hovering over the user's name also indicates the name of the group they are in. This is a fork of Pythoncoder's version of the UserHighlighter.

Installation

English Wikipedia

Edit Special:MyPage/common.js or Special:MyPage/skin.js and append this to your scripts page:

importScript("User:Chlod/Scripts/UserHighlighter.js");

Other Wikipedia Languages

Add this to the common.js file of your account on that wiki:

mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Chlod/Scripts/UserHighlighter&action=raw&ctype=text/javascript');

Features

Groups are listed next to their colors and the number of users in that group. The list is in order (e.g., if a user is an arb and a crat, they will be red).

  • Steward:  
  • Arbitrator:   ×13 (manual)
  • Bureaucrat:   ×16
  • Interface administrator:   ×14
  • Oversight:   ×0
  • CheckUser:   ×55
  • Admin:   ×839
  • Template editor:   ×191
  • Pagemover:   ×429
  • Patroller:   ×845
  • Reviewer:   ×8,146
  • Extended confirmed:   ×75,562

TODO

  • Rollbacker:   ×6,940
  • Jimbo:   ×1 (manual [of course])

Source

The source can be found at User:Chlod/Scripts/UserHighlighter.js. Like all Wikipedia pages, the license is CC BY-SA 3.0.

Discussion

You may visit my talk page if you have any concerns. You may also discuss this script specifically using this page's talk page.