Jump to content

User:Incnis Mrsi/common.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
$( document ).ready( function () {
  var junk = document.getElementById('editpage-copywarn');
  if (junk) {
    junk.innerHTML = '—';
  };
  junk = document.getElementById('mw-content-text').getElementsByClassName('editpage-head-copywarn');
  if (junk.length) {
    junk[0].innerHTML = '';
  }
  junk = document.getElementById('editpage-copywarn2');
  if (junk) {
    junk.innerHTML = '';
  };
} );
 
// importScript('User:Incnis Mrsi/edithysteria.js');
importScript('User:Ebrahames/Advisor.js');
importScript('User:Incnis Mrsi/replace.js');
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Incnis_Mrsi/short-section-links.js&action=raw&ctype=text/javascript');
importScript('User:Incnis Mrsi/revision №.js');

mathJax={}; // there is also an official gadget, but it is glitchy
mathJax.fontDir="http://cdn.mathjax.org/mathjax/latest/fonts";
importScript('User:Nageh/mathJax.js');