User:Prince(ss) Platinum/global.js

(function(importArticles, mw) {

//Semi-useful variables var glovar = { //wgSiteName: mw.config.get("wgDomain").substr(0, mw.config.get("wgDomain").length - 10), wgEditToken: mw.user.tokens.values.editToken, wgNewLine: "/\n/g", wgSocket: function(data) { var socket = new XMLHttpRequest; socket.open("POST", "/api.php", true); socket.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); socket.send(data); }   }

//Script variables window.ajaxPages = [ "Special:RecentChanges", "Special:Watchlist", "Special:Log", "Special:Contributions", "Special:WikiActivity" ];

//Articles importArticles({       type: "script",        articles: [            "u:vda:MediaWiki:VDAlite.js",            "u:dev:WHAM/code.js",            "u:dev:AjaxRC/code.js",            "u:dev:AjaxUndo/code.js",            "u:dev:RevealAnonIP/code.js",            "u:dev:PortableCSSPad/code.js",            "u:dev:QuickTools/advanced.js",            "u:creepypasta:MediaWiki:Gadget-HotCat.js",            "u:princess-platinum-test:MediaWiki:Stuff.js",            //"u:c:User:Prince(ss) Platinum/sonic-screwdriver.js"        ]    });

//Import mw.loader.load("https://raw.github.com/PrincessPlatinum/Ajax-Scripts/master/WantedPagesBatchRedlinks.js"); mw.loader.load("https://raw.github.com/PrincessPlatinum/Wikonsole/master/Wikonsole.js"); })(importArticles, mediaWiki);