Jump to content

User:Novem Linguae/Scripts/UserHighlighterSimple

From Wikipedia, the free encyclopedia
UserHighlighterSimple
DescriptionHighlights usernames based on their permissions and edit count
Author(s)Novem Linguae. Forked from a script with many authors: @Chlod, Pythoncoder, Bellezzasolo, Theopolisme, Amalthea, and Ais523:.
UpdatedJuly 1, 2024
    (4 months ago)
SourceUser:Novem Linguae/Scripts/UserHighlighterSimple.js

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

[edit]

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.

{{subst:iusc|User:Novem Linguae/Scripts/UserHighlighterSimple.js}}

Bugs and feature requests

[edit]

Your feedback is essential. Please report all bugs and feature requests on the talk page.

Differences from other user highlighters

[edit]
  • Data quality
    • User permission data is updated daily by NovemBot.[1]
    • 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

[edit]

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

[edit]

Notes

[edit]
  1. ^ The user lists in other user highlighters are (depending on which perm) sometimes updated manually, and some lists are months out of date.
Novem Linguae's user scripts (VE)
# of users Name Description S++ US/L
440 CiteHighlighter Highlights 1,800 sources green, yellow, or red depending on reliability. Mainly pulls its data from WP:RSP, WP:NPPSG and WikiProject reliable sources lists. x x
346 GANReviewTool Quickly and easily close good article nominations. Takes care of {{atop}}ing the discussion and changing the talk page templates. x x
94 DraftCleaner.js Fix formatting of new articles. x x
73 UserHighlighterSimple Highlights usernames based on permissions and edit count. User data updated daily by NovemBot. Highlights former admins. x x
70 VisualEditorEverywhere Displays the Visual Editor "Edit" tab and "Edit" section link on pages that don't normally have them: templates, talk pages, Wikipedia namespace. x x
64 NPPLinks Adds WP:BEFORE, copyvio check, duplicate article check, and other useful New Page Patrol links to the left menu. I like to mouse wheel click these links, which opens them in new tabs without losing focus on the current tab. Includes a professor h-index search. x x
54 VoteCounter.js Display keep and delete counts in XFD discussions. Also display counts in talk page discussions. x
52 ReviewStatus Displays whether or not a mainspace page is marked as reviewed x x
48 DetectSNG Scans a list of 1,600 SNG keywords such as "National Football League" and, if found, displays them at the top of the article page, to help with determining SNG eligibility. x
42 SpeciesHelper For species articles, tries to add the correct speciesbox, category, taxonbar, and stub template. x x
40 DetectPromo.js If promotional words are detected, displays them in orange at the top of the article.
39 UserRightsDiff.js When viewing Special:UserRights, easily see what perm was added or removed. x
34 DetectG4G5.js If an unreviewed article was created by a blocked user, or has had an AFD, displays a warning, so you can investigate if it needs CSD G4 or G5.
32 WatchlistAFD.js Automatically watchlist the AFD pages of your AFC accepts and NPP curations for 6 months, so you can see when stuff is AFD'd and you can calibrate your reviewing. By default, the patroller is not notified of AFD nominations, so this helps fix that. For user profiles, can also "Watchlist SPI" and "Watchlist RFA". x
28 anrfc-lister.js Effortlessly submit RFCs to the RFC closing noticeboard, WP:ANRFC. x
25 UserTalkErasedSectionsDetector.js Detect if a user is whitewashing their User Talk by deleting warnings
24 DontForgetG12.js Puts a big orange "Copyvio check" button at the top of unreviewed drafts and articles
15 Links.js Adds links to the left menu, including a user's common.js/global.js/vector.js, central auth, subpages, rename log, global lock log. Also adds pending changes.
9 CWWEditSummary.js When copying within Wikipedia, makes it easier to leave an edit summary mentioning attribution
9 MarkFreeUseRationale.js Add |image_has_rationale=yes to enwiki-hosted image files containing non-free licenses
8 TemplateTaxonomyAddCite Create subpages of Template:Taxonomy more easily by clicking a button to add citation wikicode.
6 ShowAdminMessages.js Reveal and highlight hidden messages for admins and other user groups.
3 BlockedUserHistory.js In Special:History, when clicked, show only edits by blocked users
1 OldDiffColors.js In Special:Diff, make additions light blue, not purple. In DiscussionTools, highlight new comments light blue, not teal.

Less popular: CopyTitle.js, EditRequestReadFAQ.js, RequestedArticleSifter.js, SpecialNewPagesFeedBetaTestLink.js, User:Novem Linguae/Scripts/TopicSubscriptionsTab.js, User:Novem Linguae/Scripts/Vector2022NoWhitespace.js, User:Novem Linguae/Scripts/Vector2022NoFloatingTopBar.js

Deprecated (built into MediaWiki now): NotSoFast

Comfortable with GitHub? Submit bug reports and feature requests here