User:Drumndbass/monobook.js

(function {    var oldAddButton = addButton;    if (typeof(oldAddButton) != 'function') return;    addButton = function  {        if (arguments.length > 2)            arguments[2] = arguments[2].replace(/^--(~+)$/, '—$1');        oldAddButton.apply(this, arguments);    }; });

//