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": ""};

$(".UserProfileMasthead .masthead-avatar .avatar[src='http://static.wikia.nocookie.net/845505e8-5a39-4c23-9b5a-db6dc421df9a/scale-to-width-down/150']").attr("src","http://img10.deviantart.net/82cb/i/2011/206/4/e/snivy_used_attract_by_geo_lite-d41mheg.png");

$(".UserProfileMasthead .masthead-avatar .avatar[src='http://vignette4.wikia.nocookie.net/common/avatars/0/01/5558012.png/revision/latest/scale-to-width-down/150?cb=1348799207&format=jpg']").attr("src","http://vignette2.wikia.nocookie.net/lllioliol/images/4/46/Si56282.png/revision/latest?cb=20151008152934");

$('ul.tools li:first-child').before('Blocked Users');

$(".UserProfileMasthead .masthead-info hgroup h1:contains('Darytyg The Furry Darryn')").html("Manglytyg");

$(".UserProfileMasthead .masthead-avatar .avatar[src='http://static.wikia.nocookie.net/3f9ecc52-95a3-49ac-bb8c-a9bf8f56bdef/scale-to-width-down/150']").attr("src","http://static.wikia.nocookie.net/7e376dd9-f29c-47af-866a-ab1266c96565/scale-to-width-down/150");

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