User:Steven2113@legacy41958623/vector.js

function searchbar {

RemoveSidebar("search"); //Removes search bar at top document.getElementById('right-navigation').style.margin = "2.5em 3em 0 0"; //Indent top-right tabs so the dropdown works nicely

var newdiv = document.createElement('div'); var olddiv = document.getElementById('p-Navigation') newdiv.setAttribute('id','search'); newdiv.innerHTML = '  '; document.getElementById("mw-panel").insertBefore(newdiv, olddiv.nextSibling); } addOnloadHook(searchbar);

// // Personal thingies // importScript('MediaWiki:admin.js'); importScript('User:Abdullah/SidebarFunctions.js');

function load { ModifySidebar("add", "personal", "my script", "/User:" + encodeURIComponent(wgUserName) + "/vector.js", ""); ModifySidebar("add", "personal", "my css", "/User:" + encodeURIComponent(wgUserName) + "/vector.css", "");

NewSidebar("custom1", "New", "tb"); ModifySidebar("add", "custom1", "My Sandbox", "/User:" + encodeURIComponent(wgUserName) + "/Sandbox", ""); ModifySidebar("add", "custom1", "New pages", "/Special:Newestpages", ""); ModifySidebar("add", "custom1", "Gallery of new files", "/Special:NewImages", ""); ModifySidebar("add", "custom1", "File List", "/Special:ListFiles", ""); ModifySidebar("add", "custom1", "(w/ images)", "/Special:ListFilesWithImages", "");

NewSidebar("custom2", "Attention needed", "custom1"); ModifySidebar("add", "custom2", "Articles with Image(s) Requested", "/Category:Articles_with_image(s)_requested", ""); ModifySidebar("add", "custom2", "Unused Files", "/Special:UnusedImages", ""); ModifySidebar("add", "custom2", "Short Pages", "/Special:ShortPages", ""); ModifySidebar("add", "custom2", "Pages needing attention", "/Category:Articles_needing_attention", ""); ModifySidebar("add", "custom2", "Wanted Pages", "/Special:WantedPages", ""); ModifySidebar("add", "custom2", "Broken Redirects", "/Special:BrokenRedirects", ""); ModifySidebar("add", "custom2", "Double Redirects", "/Special:DoubleRedirects", "");

NewSidebar("custom3", "Uncategorized", "custom2"); ModifySidebar("add", "custom3", "Pages", "/Special:UncategorizedPages", ""); ModifySidebar("add", "custom3", "Files", "/Special:UncategorizedFiles", ""); ModifySidebar("add", "custom3", "Templates", "/Special:UncategorizedTemplates", ""); ModifySidebar("add", "custom3", "Categories", "/Special:UncategorizedCategories", ""); }

addOnloadHook(load);