User:Wasell/monobook.js

window.popupImages = false; window.popupOnEditSelection = false;

window.popupPreviewKillTemplates = false; window.popupPreviewFirstParOnly = false; window.popupRevertSummaryPrompt = true;

window.popupMaxWidth = 600;

window.popupHideDelay = 0.3;

mw.loader.using( ['mediawiki.util','mediawiki.Title'] ).then( function {   mw.util.addPortletLink('p-navigation', '/wiki/Wikipedia:Administrators\' noticeboard/Incidents', 'WP:AN/I');  mw.util.addPortletLink('p-navigation', '/wiki/Wikipedia:Administrators\' noticeboard', 'WP:AN');  mw.util.addPortletLink('p-navigation', '/wiki/Wikipedia:In the news/Candidates', 'WP:ITNC');  mw.util.addPortletLink('p-navigation', '/wiki/Wikipedia:Reference desk/Mathematics', 'WP:RDMA');  mw.util.addPortletLink('p-navigation', '/wiki/Category:Requests_for_unblock', 'C:UNB'); } ); /* FIXME: colour-code some links -- this is one UGLY hack! */ var ip_re = /^\d+(?:\.\d+){3}$|^[0-9A-Fa-f]{0,4}(?::[0-9A-Fa-f]{0,4}){2,7}(?:\/\d+)?$/; $( function { var anchors = document.getElementsByTagName('a');  for (var i = 0; i < anchors.length; ++i) {    var a = anchors[i];    if (ip_re.test(a.text))      a.style.background = "rgb(255, 196, 196)";    if (a.text == "Wasell")      a.style.background = "rgb(196, 255, 196)";  } });