User:Krinkle/Scripts/CVNSimpleOverlay

From Meta, a Wikimedia project coordination wiki
< User:Krinkle‎ | Scripts(Redirected from CVNSimpleOverlay)
Jump to navigation Jump to search
CVNSimpleOverlay wiki 0.1.4 contribsblacklist.png

Languages: EnglishNederlands

Description[edit]

This script scans all .mw-userlink elements on the page (such as in the recent changes, watchlist, page history and diff-links), the current page name and (if available) the current target username (ie. the username when viewing a user(talk)page, log and contributions page). This data is then checked against the CVN API and the returned data is put on the page.

Not only is it handy to quickly spot if there's been an edit on your Watchlist or page history by a blacklisted IP-adress. It's also works in Diff-pages, so if you click the diff-link of an edit by a blacklisted user in #cvn-swconnect and wonder why the user is blacklisted: Click the link and hover the username on-wiki and find out without having to copy/paste the username into the channel for a "intel"-command to the bot.

Install[edit]

  • or monobook.js: Please don't use this in Monobook. It won't work, it is especially made for Vector.
Please leave the [[File:Krinkle_CVNSimpleOverlay_wiki.js]] in for statistics+
  • Yes check.svg Done :-)

If nothing appears, be sure to verify that you've put the above code on the wiki you use the tool on, not per se here on Meta.
Also clear your cache and do a hard refresh. If you encounter any issues, please let me know!

How to clear cache

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.

Examples

On history pages, watchlists and recent changes, blacklisted usernames are highlighted. When hovering the username the reason and adder are shown.
Globally watched pagenames are indicated as such when viewing the page or it's history.
When viewing a user-specific page (like userpage, usertalkpage, user contributions or user-log) a box is added to the top right with information about the user's status in the CVN database.
CVNSimpleOverlay wiki 0.1.4 usertalkwhitelist.png

Feedback

If you experiences any issues, have suggestions for how something could be better, have a good idea for a feature request – or want to report a bug ? Please leave a message on my Tools-talkpage.

See also[edit]

Check also my other Tools and Scripts here.