MediaWiki:AdminTools.js

/*This page adds several tabs to userpages allowing administrators to quickly access many more useful tools that would otherwise take longer to access. This tool is only to be used by administrators. Violators will have it removed. - Written by Drew1200 */ $(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);    if( typeof sitename == "string" ) {		address = "http://" sitename + ".wikia.com/wiki/Special:Editcount/" + wgTitle;	} }); $(function {   var olds = $(".tabs-container > ul.tabs").html;    var address = "http://legomessageboards.wikia.com/index.php?title=Special%3AUserRights&user=" + wgTitle;    var adds = " Rights Management ";    var news = olds + adds;    $(".tabs-container > ul.tabs").html(news); }); $(function {   var olds = $(".tabs-container > ul.tabs").html;    var address = "http://legomessageboards.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://legomessageboards.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://legomessageboards.wikia.com/wiki/Special:Block/" + wgTitle;    var adds = "<a href='" + address + "'> Block </a></li>";    var news = olds + adds;    $(".tabs-container > ul.tabs").html(news); }); $(function {   var olds = $(".tabs-container > ul.tabs").html;    var address = "http://legomessageboards.wikia.com/wiki/Special:Emailuser/" + wgTitle;    var adds = "<a href='" + address + "'> Email </a></li>";    var news = olds + adds;    $(".tabs-container > ul.tabs").html(news); });