User:Begoon/vector.js

// enwiki:Tools/Navigation popups - for "latest" version... mw.loader.load('https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript'); mw.loader.load('https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-navpop.css&action=raw&ctype=text/css', 'text/css');

//Common history links mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Begoon/commonHistory.js&action=raw&ctype=text/javascript');

//purgeThumbnail.js mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Begoon/purgeThumbnail.js&action=raw&ctype=text/javascript');

//Wrapper for future deprecation of importScript window.importScript = function (pageName) { mw.loader.using('mediawiki.util').then(function { var conf = mw.config.get(['wgServer', 'wgScript']), url = conf.wgServer + conf.wgScript + '?title=' + mw.util.wikiUrlencode(pageName) + '&action=raw&ctype=text/javascript'; mw.loader.load(url); }); };