User:ITechieGamer/common.js

$(function { mw.loader.localLoad = function(url) { return mw.loader.load('/index.php?title='+url+'.js&action=raw&ctype=text/javascript') };  mw.loader.interLoad = function(url, wiki) { return mw.loader.load('//'+wiki+'.gamepedia.com/index.php?title='+url+'.js&action=raw&ctype=text/javascript') };

/* Custom CSS */ mw.loader.load('//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-navpop.css&action=raw&ctype=text/css', 'text/css');

/* Custom JS */ mw.loader.interLoad('User:ITechieGamer/interwiki', 'help'); mw.loader.load('//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript'); //if(mw.config.get('wgTitle') === mw.config.get('wgUserName') && mw.config.get('wgNamespaceNumber') === 2) mw.loader.localLoad('User:ITechieGamer/test'); //mw.loader.localLoad('User:ITechieGamer/welcome'); /* Popups */ window.simplePopups = true; window.popupStructure = 'nostalgia'; window.popupRevertSummaryPrompt = true; window.popupNeverGetThumbs = true; });