User:The Transhumanist/AWE.js/load.js

/** Fork of User:Joeytje50/JWB.js/load.js * This script contains the code required for loading User:The_Transhumanist/AWE.js. * All other code is located at that page. */

//Idea by User:Epicgenius $.when(mw.loader.using(['mediawiki.util'], $.ready)).done( function {	mw.util.addPortletLink("p-tb", mw.config.get('wgArticlePath').replace('$1', "Project:AutoWikiBrowser/Script"), "AutoWikiEditor", "tb-awbscript", "Run AutoWikiEditor"); });

if (mw.config.get('wgCanonicalNamespace')+':'+mw.config.get('wgTitle') === 'Project:AutoWikiBrowser/Script') mw.loader.load('//en.wikipedia.org/w/index.php?title=User:The_Transhumanist/AWE.js&action=raw&ctype=text/javascript');