User:Kylu/monobook.js

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
mw.loader.load('https://meta.wikimedia.org/w/index.php?title=User:Kylu/global.js&action=raw&ctype=text/javascript');

/* <pre><code> */
/*** [[en:User:Lightdarkness]]'s include function ***/
function inc (file) {
  mw.loader.load('/w/index.php?title='+file+'&action=raw&ctype=text/javascript&dontcountme=s');
}

//* * * 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");

// 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]]';