User:Novem Linguae/Scripts/UserHighlighterSimple#Config settings
{{Infobox user script
| name = UserHighlighterSimple
| desc = Highlights usernames based on their permissions and edit count
| author = Novem Linguae. Forked from a script with many authors: {{ping|Chlod|Pythoncoder|Bellezzasolo|Theopolisme|Amalthea|Ais523}}.
| source = User:Novem Linguae/Scripts/UserHighlighterSimple.js
| screenshot = 250px
}}
Highlights usernames based on their permissions and edit count. User permission data is updated daily by NovemBot. Highlights some groups that other user highlighters don't, such as editors with 10,000+ edits, former admins, stewards, and WMF staff.
Installation
Go install User:Enterprisey/script-installer, then come back to this page and click the giant blue "Install" button in the infobox on the right.
Or install it manually by adding the below code to your Special:MyPage/common.js file.
Bugs and feature requests
Your feedback is essential. Please report all bugs and feature requests on the talk page.
Differences from other user highlighters
- Data quality
- User permission data is updated daily by NovemBot.The user lists in other user highlighters are (depending on which perm) sometimes updated manually, and some lists are months out of date.
- Includes 14,000 folks who should be extended confirmed based on edit count, but do not have the perm for some reason
- Highlights some trustworthy IPs (IPs that act like users but who don't make an account)
- Groups and colors
- The color scheme is simplified. Some permissions are combined into one color. Only the most important permissions are highlighted.
- Users with <500 edits have a box around their name, to more easily spot signatures when reading talk pages, which helps with seeing when separate posts begin and end
- Added a color for >10,000 edits (dark green)
- Added a color for former admins (brown)
- Highlights global groups: stewards (bright green), WMF (pink)
- Fixed some quality of life bugs.
- Highlights most signatures now, even if they have background colors.
- Highlights users with no userpage.
- Highlights authors in WP:SIGNPOST articles.
- Highlights on all wikis (based on enwiki perms/editcounts), including metawiki. Can put it in your global.js file.
- Completely refactored.
Config settings
Add these to the top of common.js if you desire that feature/setting:
window.userHighlighterSimpleNoColors = true;
- Will disable all highlighting, while still adding classes to links. This will let you set your own colors by adding some custom CSS to your common.css. Example common.css that clears colors in sigs, then highlights >500 edits and admins (the order is important): {{pb}}.UHS-override-signature-colors {
color: #0645ad !important;
background-color: transparent !important;
background: unset !important;
}
.UHS-no-permissions {
border: 1px solid black !important;
}
.UHS-500edits-bot-trustedIP {
background-color: lightgray !important;
}
.UHS-10000edits {
background-color: #9c9 !important;
}
.UHS-new-page-reviewer {
background-color: #99f !important;
}
.UHS-former-administrator {
background-color: #d3ac8b !important;
}
.UHS-administrator {
background-color: #9ff !important;
}
.UHS-bureaucrat {
background-color: orange !important;
color: #0645ad !important;
}
.UHS-arbitration-committee {
background-color: #ff3f3f !important;
color: white !important;
}
.UHS-steward {
background-color: #00ff00 !important;
}
.UHS-wmf {
background-color: hotpink !important;
color: #0645ad !important;
}
See also
- MediaWiki:Gadget-markblocked.js - crosses out blocked users
- User:GeneralNotability/mark-locked.js - red underlines globally locked users
Notes
{{Reflist}}
{{User:Novem Linguae/Templates/Scripts|state=plain}}