Minecraft Wiki
Advertisement

Documentation may be created at User:ITechieGamer/common.js/doc.

Note: After saving, you have to bypass your browser's cache to see the changes.

Google Chrome, Firefox, Microsoft Edge, and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button.
For details and instructions about other browsers, see Wikipedia:Bypass your cache.

$(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;
});
Advertisement