User:Kylu/monobook.js

From Wikipedia

Note: After saving, you may have to bypass your browser's cache to see the changes. Mozilla / Firefox / Safari: hold down Shift while clicking Reload, or press Ctrl-Shift-R (Cmd-Shift-R on Apple Mac); IE: hold Ctrl while clicking Refresh, or press Ctrl-F5; Konqueror:: simply click the Reload button, or press F5; Opera users may need to completely clear their cache in Tools→Preferences.

/* <pre><code> */
/*** [[en:User:Lightdarkness]]'s include function ***/
function inc (file) {
  var lt = String.fromCharCode(60);
  var gt = String.fromCharCode(62);
  document.writeln(lt+'script type="text/javascript" src="/w/index.php?title='+file+'&amp;action=raw&amp;ctype=text/javascript&amp;dontcountme=s"'+gt+lt+'/script'+gt);
}

//* * * includes: * * *
//Please note: This REQUIRES the function above it for this section to operate.
//If you want to copy my includes, that's wonderful! Just make sure you copy all of the
//above code too, or it won't work!
//Popups (localized)
inc ("User:Kylu/popups.js");
//Tool2 (localized)
//inc ("commons:User:Kylu/Tool2/code.js");
//editcount toolbox link (not localized, just username adjusted)
//inc ("commons:User:Kylu/editcount.js");
//Userlogs toolbox link (Username adjusted)
//inc ("commons:User:Kylu/userlog.js");

// Popups options:
simplePopups = false;
popupAdminLinks = false;
popupFixRedirs = true;
popupFixDabs = true;
popupDelay = 0.15;
popupSubpopups = false;
popupNavLinkSeparator = ' &bull; ';
popupRedirAutoClick = 'wpPreview';

//Beta!
popupLiveOptions=true;          //Lets you change frequently-changed Popups options while in-use
popupLiveOptionsExpanded=false; //Starts with the options tab open on popover (annoying)

// Everyone knows what PopUps are, why advertize?
// Will happily remove this section if anyone complains.
popupRedlinkSummary='Removing link to empty page [[%s]]';
popupFixDabsSummary='Disambiguate [[%s]] to [[%s]]';
popupFixRedirsSummary='Redirect bypass from [[%s]] to [[%s]]';
popupExtendedRevertSummary='Revert to revision dated %s by %s, oldid %s';
popupRevertToPreviousSummary='Revert to the revision prior to revision %s';
popupRevertSummary='Revert to revision %s';
popupRmDabLinkSummary='Remove link to dab page [[%s]]';
/* </code></pre> */