Jump to content

User:Jeeputer/defconIndicator

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Jeeputer (talk | contribs) at 03:12, 3 April 2024 (Created page with '{{Infobox user script | name = Defcon Indicator | desc = Shows vandalism level as shown in Template:Vandalism information | author = Jeeputer | maintainer = Jeeputer | released = {{Start date|April 02, 2024}} }} 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 le...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
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
    (4 months 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

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

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

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

Bug reports and feature requests

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

See also