User:Lost Labyrinth/wikia.js

// remove admin link on toolbar $.ready( function { $('li > a[data-tracking="admindashboard/toolbar/admin"]').remove; } );

// User right icons $(function { var rights = {}; // BEGIN LIST OF ACCOUNTS GIVEN EXTRA USER RIGHTS ICONS

// BOTS rights["A bot"]                               = ["Bot "], rights["Bawt"]                             = ["Bot "], rights["WoganBot"]                               = ["Bot "],

// END LIST OF ACCOUNTS GIVEN EXTRA USER RIGHTS ICONS if (wgTitle == "Contributions") { var user = fbReturnToTitle.substring(fbReturnToTitle.lastIndexOf("/")+1).replace(/_/g," "); } else { var user = wgTitle; } if (typeof rights[user] != "undefined") { // remove old rights $('.UserProfileMasthead .masthead-info span.group').remove; for( var i=0, len=rights[user].length; i < len; i++) { // add new rights $(' ' + rights[user][i] +         ' ').appendTo('.masthead-info hgroup'); }   } }); //