User:Mikimik/monobook.js

/* 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 */