close
Jump to content

User:Pythoncoder/Scripts/userHighlighter

From Wikipedia, the free encyclopedia
User Highlighter
DescriptionHighlights userpage links based on user's permissions
AuthorsAis523, Amalthea, Theopolisme, Bellezzasolo, Amorymeltzer, Pythoncoder
Status
Release
First releasedMay 18, 2007; 19 years ago (2007-05-18)
Version3.1.1
UpdatedJune 21, 2026; 53 days ago (2026-06-21)
BrowsersTested with Firefox 78 and Mobile Safari 13 but should work with others
SkinsAll current skins (Vector, MonoBook, CologneBlue, Modern, Timeless, Minerva, Vector2022)
SourceUser:Pythoncoder/Scripts/userHighlighter.js

User Highlighter[1] (source) is a user script that highlights links to userpages, user talk pages, and contribs pages of administrators, as well as other user groups as listed below.

Disclaimer: This script is kind of old. Since I forked it several years ago, several users have made further improvements to the script, which can be viewed at WP:US/L.

Groups and colors

[edit]

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 an admin, they will be red).

  • Steward:   ×~40 (Example)
  • Bureaucrat:   ×15 (Example)
  • Interface administrator:   ×15 (Example)
  • Arbitrator:   ×~15 (Example)
  • Oversight:   ×45 (Example)
  • CheckUser:   ×47 (Example)
  • Admin:   ×813 (Example)
  • Former admin:   (Example)
  • Template editor:   ×207 (Example)
  • Pagemover:   ×463 (Example)
  • Patroller:   ×876 (Example)
  • Reviewer:   ×8,242 (Example)
  • Extended confirmed:   ×80,780 (Example)
    • Same color used for trusted IPs
  • Jimbo Wales gets a 🏴󠁧󠁢󠁷󠁬󠁳󠁿 Wales flag emoji displayed before his username, and Larry Sanger gets an 🇺🇸 American flag emoji

TODO

[edit]

Installation

[edit]
  1. Copy the following code, edit your user JavaScript, then paste:
    {{subst:lusc|1=User:Pythoncoder/Scripts/userHighlighter.js}}