Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (31 sloc) 1.96 KB


  1. Go to one of the js subpages of your user page. You can choose a page such as these:
  1. Copy the following to the page you have chosen:
// [[File:User:He7d3r/Tools/ScoredRevisions.js]] (workaround for [[phab:T35355]])
mw.loader.load( '//' );
  1. Clear the cache of your browser.

This will import the minified copy of the script I maintain on Meta-wiki.


For each model available on ORES, this script adds one of 4 classes. E.g.:

  • sr-damaging-high, sr-damaging-medium, sr-damaging-low or sr-damaging-none
  • sr-reverted-high, sr-reverted-medium, sr-reverted-low or sr-reverted-none

Which class is added depends on the predicted probability for the corresponding model. Users can customize the default style from ScoredRevisions.css (which just changes the background color for now) by changing their personal CSS. You can copy ScoredRevisions.css as a start point, and play with the styles as you like.

Here is an example which adds an icon to the left of the edits which have low probability of being reverted:,
ul#pagehistory, {
    background: #FFE099;
    background-image: url("");
    background-repeat: no-repeat;
    padding-left: 20px;
    background-position: left center;