User:Abdullah5599@legacy41961806/vector.js

// // SearchBar // Removes the searchbar at the top and places it on the left, like monobook // function SearchBar { //-Remove search bar at top var del = document.getElementById('p-search'); del.parentNode.removeChild(del);

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

//-Create a search bar under the navigation thing on the left 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('User:Abdullah/SidebarFunctions.js'); importScript('MediaWiki:Admin.js')

function load { NewSidebar("custom1", "New", "toolbox"); AddLink("custom1", "My Sandbox", "/User:" + encodeURIComponent(wgUserName) + "/Sandbox"); AddLink("custom1", "New pages", "/Special:Newestpages"); AddLink("custom1", "File List", "/Special:ListFilesWithImages", "");

NewSidebar("custom2", "Attention needed", "custom1"); AddLink("custom2", "Pages needing attention", "/Category:Articles_needing_attention", ""); AddLink("custom2", "Wanted Pages", "/Special:WantedPages", ""); AddLink("custom2", "Broken Redirects", "/Special:BrokenRedirects", ""); AddLink("custom2", "Double Redirects", "/Special:DoubleRedirects", ""); AddLink("custom2", "Unused Files", "/Special:UnusedImages", ""); AddLink("custom2", "Unused Files (2)", "/User:Adam/Unused_files"); AddLink("custom2", "Delete Images", "/Category:Images_for_deletion"); AddLink("custom2", "Delete Articles", "/Category:Articles_for_deletion");

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

addOnloadHook(load);