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.
/* This function is used to include scripts from other pages in wiki. */
function mImportScript (page, site)
{
    if ( !site ) site = wgServer;
    page = page.replace(/^\[\[/, "").replace(/]]$/, "");
 
    importScriptURI ( site + wgScript + "?title=" + page + "&action=raw&ctype=text/javascript" );
}
 
 
mImportScript ("User:Mikimik/js/shared.js", "http://en.wikipedia.org");        /* importing shared.js */