User:Topaz/monobook.js

function inc (file) { var lt = String.fromCharCode(60); var gt = String.fromCharCode(62); if (file.indexOf(".js") > -1) { 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); } else if (file.indexOf(".css") > -1) { document.writeln(lt+'link rel="stylesheet" type="text/css" href="/w/index.php?title='+file+'&amp;action=raw&amp;ctype=text/css" /'+gt); } }

inc("User:Topaz/init.js"); inc("User:Topaz/util.js"); inc("User:Topaz/sectionsplitter.js"); inc("User:Topaz/editcountutil.js"); inc("User:Topaz/enhanceduserpage.js"); inc("User:Topaz/comm.js"); inc("User:Topaz/wputil.js"); inc("User:Topaz/usermessagechanger.js"); inc("User:Topaz/statuschanger.js");

// ### do not copy below this point ###

inc("User:Topaz/beta.js");

//loadmonobook("HighwayCello");

function loadmonobook(user) { inc("User:"+user+"/monobook.css"); inc("User:"+user+"/monobook.js"); }

//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'); }