User:Jeeputer/defconIndicator

From Wikipedia, the free encyclopedia
Defcon Indicator
DescriptionShows vandalism level as shown in Template:Vandalism information
Author(s)Jeeputer
Maintainer(s)Jeeputer
First releasedApril 02, 2024 (April 02, 2024)
UpdatedApril 2, 2024
    (8 days ago)
SourceUser:Jeeputer/defconIndicator.js

the Defcon Indicator is a user script that shows a colored icon in the personal toolbar, next to the notification icons on top of the site indicating current vandalism level.

This script is actually a fork of User:Enterprisey/watchlist-notice.js.

Installation[edit]

Copy the following to your common.js page and click Save.

mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Jeeputer/defconIndicator.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Jeeputer/defconIndicator.js]]

You may need to clear your browser's cache after saving.

Description[edit]

The code relies on the vandalism level set on User:EnterpriseyBot/defcon and automatically checks for any changes to that page every 2 minutes. you can manually check for changes by clicking on the icon.

Levels[edit]

  • Vandalism level: 1
  • Vandalism level: 2
  • Vandalism level: 3
  • Vandalism level: 4
  • Vandalism level: 5

Bug reports and feature requests[edit]

You can report any bugs of request for new features on my talk page.

See also[edit]