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:.
UpdatedApril 28, 2024
    (0 days 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-500edits-bot-trustedIP {
        background-color: #9ff !important;
    }
    
    .UHS-administrator {
        background-color: green !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
350 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
260 GANReviewTool Quickly and easily close good article nominations. Takes care of {{atop}}ing the discussion and changing the talk page templates. x x
62 DraftCleaner.js Fix formatting of new articles. x x
54 UserHighlighterSimple Highlights usernames based on permissions and edit count. User data updated daily by NovemBot. Highlights former admins. x x
54 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
52 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
42 VoteCounter.js Display keep and delete counts in XFD discussions. Also display counts in talk page discussions. x
37 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
30 UserRightsDiff.js When viewing Special:UserRights, easily see what perm was added or removed. x
27 ReviewStatus Displays whether or not a mainspace page is marked as reviewed x x
25 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
21 SpeciesHelper For species articles, tries to add the correct speciesbox, category, taxonbar, and stub template. x x
20 DetectPromo.js If promotional words are detected, displays them in orange at the top of the article.
20 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.
12 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.
12 anrfc-lister.js Effortlessly submit RFCs to the RFC closing noticeboard, WP:ANRFC. x
11 DontForgetG12.js Puts a big orange "Copyvio check" button at the top of unreviewed drafts and articles
6 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.
6 UserTalkErasedSectionsDetector.js Detect if a user is whitewashing their User Talk by deleting warnings
5 CWWEditSummary.js When copying within Wikipedia, makes it easier to leave an edit summary mentioning attribution
2 MarkFreeUseRationale.js Add |image_has_rationale=yes to enwiki-hosted image files containing non-free licenses

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