User:Pythoncoder/Scripts/userHighlighter

{{infobox user script

| name = User Highlighter

| desc = Highlights userpage links based on user's permissions

| author = {{u|Ais523}}, {{u|Amalthea}}, {{u|Theopolisme}}, {{u|Bellezzasolo}}, {{u|Amorymeltzer}}, {{u|Pythoncoder}}

| updated = {{start date and age|2020|06|23}}

| status = Stable

| released = {{start date and age|2007|05|18}}

| version = 3.1.0

| source = User:Pythoncoder/Scripts/userHighlighter.js

| skins = All current skins (Vector, MonoBook, CologneBlue, Modern, Timeless, Minerva, Vector2022)

| browsers = Tested with Firefox 78 and Mobile Safari 13 but should work with others

| logo =

| screenshot =

| screenshot-caption =

}}

{{userscript|name=User Highlighter|code=User:Pythoncoder/Scripts/userHighlighter.js}} 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

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).

  • Jimbo: {{color box|#fd9}} ×1 (Example)
  • Steward: {{color box|#9cc}} ×39 (as of 2020-07-11) (Example)
  • Bureaucrat: {{color box|#fb9}} ×{{NUMBERINGROUP:bureaucrat}} (Example)
  • Interface administrator: {{color box|#ff9}} ×{{NUMBERINGROUP:interface-admin}} (Example)
  • Arbitrator: {{color box|#f99}} ×14 (as of 2020-07-11) (Example)
  • Oversight: {{color box|#999}} ×{{NUMBERINGROUP:suppress}} (Example)
  • CheckUser: {{color box|#9cf}} ×{{NUMBERINGROUP:checkuser}} (Example)
  • Admin: {{color box|#9ff}} ×{{NUMBEROFADMINS}} (Example)
  • Former admin: {{color box|#db9}} (Example)
  • Template editor: {{color box|#f9f}} ×{{NUMBERINGROUP:templateeditor}} (Example)
  • Pagemover: {{color box|#bf9}} ×{{NUMBERINGROUP:extendedmover}} (Example)
  • Patroller: {{color box|#9c9}} ×{{NUMBERINGROUP:patroller}} (Example)
  • Reviewer: {{color box|#ddd}} ×{{NUMBERINGROUP:reviewer}} (Example)
  • Extended confirmed: {{color box|#99f}} ×{{NUMBERINGROUP:extendedconfirmed}} (Example)
  • Same color used for trusted IPs

=TODO=

  • Rollbacker: {{color box|#d9f}} ×{{NUMBERINGROUP:rollbacker}} (Example)

Installation

{{reflist}}