User:Winter7073/global.js

importArticles({type: 'script',articles: ['u:dev:AutoEditPages/code.js','w:c:dev:AutoEditDropdown/code.js','w:c:dev:Countdown/code.js','u:dev:PurgeButton/code.js'] }); $('#my-tools-menu').prepend(' User List'); $('#my-tools-menu').prepend(' Ripto'); importScriptPage('QQX/code.js', 'dev');

function addMastheadTags { var rights = {};

rights["Ripto22475"]             = [];

if (wgCanonicalSpecialPageName == "Contributions") { var user = wgPageName.substring(wgPageName.lastIndexOf("/")+1).replace(/_/g," "); } else { var user = wgTitle; } if (typeof rights[user] != "undefined") {

$('.UserProfileMasthead .masthead-info span.tag').remove; for( var i=0, len=rights[user].length; i < len; i++) { // add new rights $('' + rights[user][i] +         ' ').appendTo('.masthead-info hgroup'); }   } }; $(function {  if ($('#UserProfileMasthead')) {    addMastheadTags;  } });