User:Winter7073/wikia.js

function addMastheadTags { var rights = {}; // BEGIN List of Accounts Given Extra User Rights Icons

rights["PhilippL"]               = ["User"];

// END List of Accounts Given Extra User Rights Icons // BEGIN Script to Remove Old Rights Icons & Insert New if (wgCanonicalSpecialPageName == "Contributions") { var user = wgPageName.substring(wgPageName.lastIndexOf("/")+1).replace(/_/g," "); } else { var user = wgTitle; } if (typeof rights[user] != "undefined") { // remove old rights $('.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'); }   }  // END Script to Remove Old Rights Icons & Insert New }; $(function { if ($('#UserProfileMasthead')) {    addMastheadTags;  } }); // END CREATING ADDITIONAL USER RIGHTS ICONS FOR PROFILEMASTHEADS //

$("ul.tools li:first-child").before("Uncategorized Files");

importScriptPage('User:Monchoman45/ChatHacks.js', 'c');

if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette2.wikia.nocookie.net/lllioliol/images/e/e1/Userpageimage.png/revision/latest?cb=20150908185840", "speedTip": "Userpageimage", "tagOpen": "", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette1.wikia.nocookie.net/central/images/4/40/ButtonEditText2583.jpeg/revision/latest?cb=20151025001506", "speedTip": "Userpageimage Text", "tagOpen": "Userpageimage", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette1.wikia.nocookie.net/lllioliol/images/a/a5/WikiaScreenshot.png/revision/latest?cb=20150908185840", "speedTip": "Wikia-screenshot", "tagOpen": "", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette2.wikia.nocookie.net/central/images/0/0a/WikiaScreenshotTextIcon.png/revision/latest?cb=20151123170004", "speedTip": "Wikia-screenshot Text", "tagOpen": "Wikia-screenshot", "tagClose": "", "sampleText": ""}; mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette3.wikia.nocookie.net/central/images/d/d8/StaffImageIcon.png/revision/latest?cb=20151123170036", "speedTip": "StaffImage", "tagOpen": "", "tagClose": "", "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette1.wikia.nocookie.net/central/images/d/d8/StaffImageTextIcon.png/revision/latest?cb=20151123170110", "speedTip": "StaffImage Text", "tagOpen": "StaffImage", "tagClose": "", "sampleText": ""};

}

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette4.wikia.nocookie.net/central/images/6/6a/Templateimage.png/revision/latest?cb=20151213200033", "speedTip": "Templateimage", "tagOpen": "", "tagClose": "", "sampleText": ""};

mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "http://vignette2.wikia.nocookie.net/central/images/0/02/Templateimagetext.png/revision/latest?cb=20151213200052", "speedTip": "Templateimage Text", "tagOpen": "Templateimage", "tagClose": "", "sampleText": ""};

importArticles({   type: "script",    articles: [        'u:dev:PurgeButton/code.js'    ] });

$(".user-menu.subnav.global-nav-dropdown").append("Recent Changes");