User:Drew1200/global.js

importScriptPage('User:Monchoman45/ChatHacks.js', 'c'); importScriptPage('User:Joeytje50/ChatPMs.js', 'c'); importScriptPage( 'AjaxRC/code.js', 'dev' ); importScriptPage('SkinSwitchButton/code.js', 'dev'); var monoBookText = 'MonoBook', oasisText = 'Wikia';

/* Following script written by Drew1200 - adds administrative buttons to user pages */ importScriptPage('SearchGoButton/code.js', 'dev'); $(function {   var olds = $(".tabs-container > ul.tabs").html;    var address = "http://drew1200test.wikia.com/wiki/Special:Editcount/" + wgTitle;    var adds = " Editcount ";    var news = olds + adds;    $(".tabs-container > ul.tabs").html(news); }); $(function {   var olds = $(".tabs-container > ul.tabs").html;    var address = "http://drew1200test.wikia.com/index.php?title=Special%3AUserRights&user=" + wgTitle;    var adds = " User Rights Management ";    var news = olds + adds;    $(".tabs-container > ul.tabs").html(news); }); $(function {   var olds = $(".tabs-container > ul.tabs").html;    var address = "http://drew1200test.wikia.com/wiki/Special:DeletedContributions/" + wgTitle;    var adds = " Deleted Contributions ";    var news = olds + adds;    $(".tabs-container > ul.tabs").html(news); }); $(function {   var olds = $(".tabs-container > ul.tabs").html;    var address = "http://drew1200test.wikia.com/wiki/Special:Log?user=" + wgTitle;    var adds = " Logs ";    var news = olds + adds;    $(".tabs-container > ul.tabs").html(news); }); $(function {   var olds = $(".tabs-container > ul.tabs").html;    var address = "http://drew1200test.wikia.com/wiki/Special:Block/" + wgTitle;    var adds = "<a href='" + address + "'> Block </a></li>";    var news = olds + adds;    $(".tabs-container > ul.tabs").html(news); });