User:Jak Atackka/monobook.js

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
// <pre><nowiki>

importScript('User:Jak Atackka/namegenerator.js');
//importScript('User:Jak_Atackka/test.js');
importScript('User:Elliot/hoveringtext.js');
importScript('UESPWiki:Javascript/modifysidebar.js');


addOnloadHook(function() {
//general
    ModifySidebar("remove", "general", "How to Contribute");

//sections
//    ModifySidebar("remove", "sections", "All Content");

//community
    ModifySidebar("clear", "community");
    ModifySidebar("add", "community", "Admin Noticeboard", "http://www.uesp.net/wiki/UESPWiki:Administrator_Noticeboard");
    ModifySidebar("add", "community", "Community Portal", "http://www.uesp.net/wiki/UESPWiki:Community_Portal");

//toolbox
    ModifySidebar("remove", "toolbox", "Related Changes");
    ModifySidebar("add", "toolbox", "Unpatrolled Edits", "http://www.uesp.net/w/index.php?title=Special:RecentChanges&days=30&limit=5000&hidepatrolled=1");
    ModifySidebar("add", "toolbox", "Skyrim CSList", "http://cs.uesp.net?game=sr");
    ModifySidebar("add", "toolbox", "Job Queue", "http://www.uesp.net/w/api.php?action=query&meta=siteinfo&siprop=statistics");
});
// </nowiki></pre>