Changes

MyWikiBiz, Author Your Legacy — Sunday December 01, 2024
Jump to navigationJump to search
no edit summary
Line 1: Line 1: −
// This script changes the "Your signature with timestamp" edit button to use a real em dash instead of two hyphens.  <pre><nowiki>
+
{{delete}}
 
  −
(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);
  −
    };
  −
})();
  −
 
  −
// </nowiki></pre>
 
111

edits

Navigation menu