MediaWiki:Gadget-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. $(function {   var olds = $(".tabs-container > ul.tabs").html;    var address = wgServer + "/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 = wgServer + "/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 = wgServer + "/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 = wgServer + "/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 = wgServer + "/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 = wgServer + "/wiki/Special:Emailuser/" + wgTitle;    var adds = "<a href='" + address + "'> Email </a></li>";    var news = olds + adds;    $(".tabs-container > ul.tabs").html(news); });
 * Written by Drew1200