Jump to content

User:BethNaught/historyMakeMinus

From Wikipedia, the free encyclopedia
historyMakeMinus.js
Author(s)BethNaught
StatusNot well tested but probably fine
UpdatedSeptember 24, 2016 (2016-09-24)
BrowsersAny modern browser should work
SkinsVector, Monobook, probably others
SourceUser:BethNaught/historyMakeMinus.js

historyMakeMinus.js is a user script that replaces the U+002D - HYPHEN-MINUS character with U+2212 MINUS SIGN in page histories, the watchlist and Recent Changes (in fact, anywhere where a negative change is contained in an HTML element of class 'mw-plusminus-neg').

Setup

[edit]

Add the following to your common.js: mw.loader.load('/w/index.php?title=User:BethNaught/historyMakeMinus.js&action=raw&ctype=text/javascript'); // Linkback: [[User:BethNaught/historyMakeMinus.js]]