User:Noreplyz/common.js

// OTHER SCRIPTS importScriptURI('http://josephhawk.wikia.com/index.php?title=User:Josephyr/file.js&action=raw&ctype=text/javascript'); importScriptURI('http://noreply.wikia.com/index.php?title=User:Noreplyz/userpagetemplate.js&action=raw&ctype=text/javascript'); importScriptURI('http://noreply.wikia.com/index.php?title=MediaWiki:FileUsage.js&action=raw&ctype=text/javascript') // File checker if (wgCanonicalSpecialPageName !== 'Wantedpages') { return; }   $(".special li .new").each(function (index) {         var thisItem = this;        $.getJSON("http://community.wikia.com/api.php?action=query&format=json&list=backlinks&bltitle=" + encodeURI($( this ).text), function (json) { var fulltext = ''; fulltext = ' '; for (var j = 0; j < json["query"]["backlinks"].length; j++) { var backlink = encodeURI(json["query"]["backlinks"][j]["title"]); fulltext = fulltext + ''+decodeURI(backlink)+'' + ' ' ; console.log(fulltext); }           $(thisItem).after(fulltext); });   }); })(this.jQuery, this.mediaWiki);
 * (function($, mw) {