HighlightUsers

This script is a more customizable version of Highlight and Admins & Bureaucrats Highlight. It will automatically change the color of links to certain groups or users to the specified color. By default, only links to User:X will be colored, but this can be changed (see below). This is easier than using CSS, as it doesn't require a constantly updated list of users to color a group, but it is slower because it uses AJAX.

Installation
If installing wiki-wide, place on MediaWiki:Common.js. For personal use, place on your Special:Mypage/wikia.js (/monobook.js for Monobook).

Customization
Change the first line to selectAll: true; to change the color of all links to that user rather than only User: links. (Currently only links with a colon before the username will work, and will not work if there is anything after the username. Let me know if you want the option to affect more links.)

For coloring individual users, replace the ... after users in the code above with lines following a pattern like this:

For groups, replace the last ... with lines following a pattern like this:

Examples
Correct punctuation is important. Any user or group name with a space must have quotes around it. Group names must be what is defined in the system; a list of a wiki's groups can be found at Special:ApiExplorer by expanding querymodules --> allusers --> look under 4. (Is there an easier way to find this?) This is what a filled-out example could look like:

Without any individual users, and increased link selection: