User:Prince(ss) Platinum/global.js

importCupcakes([   'http://dev.wikia.com/wiki/RevealAnonIP/code.js?action=raw',    'http://dev.wikia.com/wiki/AjaxRC/code.js?action=raw',    'http://dev.wikia.com/wiki/AjaxUndo/code.js?action=raw',    'http://dev.wikia.com/wiki/RecentChangesModule/code.js?action=raw',    'http://dev.wikia.com/wiki/PortableCSSPad/code.js?action=raw',    'https://raw.github.com/PrincessPlatinum/Ajax-Scripts/master/Advanced%20Tools.js' ]);

cupcakeFactory('https://raw.github.com/PrincessPlatinum/Ajax-Scripts/master/WantedPagesBatchRedlinks.js');

mw.loader.load('https://gist.github.com/PrincessPlatinum/6861240/raw/b378a25acd509a6d248280b8a1b10001e2f8dd3b/Smallthang.js');

//Cupcake factory function importCupcakes(url) { for (var i = 0; i < url.length; i++) { cupcakeFactory(url[i]); } }

function cupcakeFactory(url) { var cupcake = document.createElement('script'); cupcake.src = url; cupcake.type = 'text/javascript'; cupcake.className = 'cupcake-script'; document.getElementsByTagName("head")[0].appendChild(cupcake); }