Jump to content

User:2aprilboy/historyReviewer

From Wikipedia, the free encyclopedia
"History review script preview"
Screenshot of Wikipedia:Help desk as seen using History reviewer script.

History reviewer is a script, written in JavaScript, that changes "history" tab style on Wikipedia, in order to bring attention to it if article was changed recently. While it is a standalone script, it works best as an extension to the Navigation popups gadget.

Features

[edit]
  • time duration since last edit is compared to the average duration between edits (5 most recent edits)
    • if recent edits are too close to each other (less than 30 minutes), it marks the history to be an editWar
    • if last edit was made more recently than previous edits were apart (and before a week ago), it marks the history to be recentlyChanged
    • if the last edit was made by an unregistered user or by user with few contributions (less than 5), it marks the history to be made by an questionableEditor
    • if only 1 edit was ever made, it marks the history to be of a new article
    • otherwise, it marks the history to be ok
  • the actual history is shown on mouseOver event of the "history" tab (thanks to the Navigation popups)

Installation

[edit]

To enable all features of this script, add this code to your monobook.js (or equivalent file if you use a different skin - e.g. User:2aprilboy/vector.js):

importScript('User:Lupin/popups.js')
popupOnlyArticleLinks = false
importScript('User:2aprilboy/historyReviewer.js')


Development notes

[edit]

Notes

[edit]
  1. ^ Tested only on fully updated browsers as of 31 January 2010