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

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

//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'); mw.loader.localLoad('User:ITechieGamer/welcome');

/* Popups */ window.simplePopups = true; window.popupStructure = 'nostalgia'; window.popupRevertSummaryPrompt = true; window.popupNeverGetThumbs = true;

/* Script proposals */ if(!!window.MSInputMethodContext && !!document.documentMode) { // https://stackoverflow.com/questions/21825157/internet-explorer-11-detection $('body.page-Minecraft_Wiki_editcopy #iefix').css('max-width', '1px'); $('body.page-Minecraft_Wiki #iefix').css('max-width', '1px'); } });