User:Ais523/adminrights

From Wikipedia, the free encyclopedia
Note: this script is now maintained by User:Amalthea; you probably want to install it as "User:Amalthea/userhighlighter.js" (this script is now just a redirect). See also User:Theopolisme/Scripts/adminhighlighter.

Documentation for User:ais523/adminrights.js:

This script highlights bluelinks to admins' userpages or talkpages in bodyContent (that is, everything but the tabs, personal links at the top of the screen and sidebar) by giving them a cyan background. Please import this script using importScript, rather than copying the code, as the list of admins is hard-coded for performance and if you copy the code the list won't update with time (I update it from time to time). You can do this by substing Template:js with this script's name as an argument in your common.js.

If you want a colour other than cyan, add

.amalthea_userhighlighter_sysop {background-color: #FFFF00 !important}

(or any other colour code) to your common.css file.