Jump to content

User:Matilda/monobook.js

From Simple English Wikipedia, the free encyclopedia

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
// [[User:Lupin/popups.js]] - please include this line 

mw.loader.load(
             'https://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
             + '&action=raw&ctype=text/javascript&dontcountme=s');

popupDelay=0.5;
simplePopups=false;
popupShortcutKeys=true;
popupDragging=true;
popupFixRedirs=true;
popupRedirAutoClick='wpDiff';
popupFixDabs=true;
popupNavLinks=true;
popupLastEditLink=true;
popupHistoricalLinks=true;
popupPreviews=true;
popupSummaryData=true;
popupLastModified=true;
popupOnlyArticleLinks=true;
popupDragging=true;

//Interiot's javascript edit counter
if (document.title.indexOf('User:Interiot/Tool2/code.js') != -1) {
  mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Interiot/Tool2/code.js&action=raw&ctype=text/javascript'); }

//Create 'winc' function:

function winc(s) {
document.write('<script type="text/javascript" src="' 
             + 'http://en.wikipedia.org/w/index.php?title=' + s
             + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
}


//function to handle dates:

winc('User:Bobblewik/monobook.js/dates.js');


//function to handle units:

winc('User:Bobblewik/monobook.js/unitformatter.js');

importScript("User:Smith609/toolbox.js");