User:Abdullah5599/monobook.js

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

function load { RemoveSidebar("Community"); RemoveSidebar("The_Masterminds");

ModifySidebar("add", "personal", "my css", "/User:" + encodeURIComponent(wgUserName) + "/monobook.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);