Open main menu

UESPWiki β

User:Daric Gaersmith/monobook.js

< User:Daric Gaersmith

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>

/*
 *  Importing scripts from other UESP users and from external sites
 *  ---------------------------------------------------------------
 */
importScript('User:Jak_Atackka/namegenerator.js');
importScript('User:Daric_Gaersmith/TES_Fan_Fiction_Collection/promptgenerator.js');
importScript('User:Elliot/ajaxrc.js');
importScript('User:Elliot/hoveringtext.js');
importScript('UESPWiki:Javascript/modifysidebar.js');
importScript('UESPWiki:Javascript/watchlistnotifier.js');
importScriptURI('http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript');


/*
 *  CustomizeModificationsOfSidebar
 *  Copied from http://www.uesp.net/wiki/User:Jak_Atackka/monobook.js
 *  -----------------------------------------------------------------
 */
function CustomizeModificationsOfSidebar() {

//--general--
    ModifySidebar("remove",   "general",   "How to Contribute");
    ModifySidebar("remove",   "general",   "Random Page");
    ModifySidebar("remove",   "general",   "Mobile Site");
    ModifySidebar("add",      "general",   "Gaersmith Legacy",    "http://www.uesp.net/wiki/User:Daric_Gaersmith/TES_Fan_Fiction_Collection/Gaersmith_Legacy",
                                           "Reference Material",  "http://www.uesp.net/wiki/User:Daric_Gaersmith/TES_Fan_Fiction_Collection/Gaersmith_Legacy/Reference_Material",
                                           "Reading Fan Fiction", "http://www.uesp.net/wiki/User:Daric_Gaersmith/TES_Fan_Fiction_Collection/Reading_Fan_Fiction",
                                           "Proofreading",        "http://www.uesp.net/wiki/Category:User_Content-Collaboration-Limited");

//--sections-- 
    ModifySidebar("clear",    "sections");
    ModifySidebar("add",      "sections",  "Lore",                "http://www.uesp.net/wiki/Lore:Main_Page");
    ModifySidebar("add",      "sections",  "Books",               "http://www.uesp.net/wiki/Books:Books");
    ModifySidebar("add",      "sections",  "Elder Scrolls Online","http://www.uesp.net/wiki/Online:Online");
    ModifySidebar("add",      "sections",  "Skyrim",              "http://www.uesp.net/wiki/Skyrim:Skyrim",
                                           "Dawnguard",           "http://www.uesp.net/wiki/Skyrim:Dawnguard",
                                           "Hearthfire",          "http://www.uesp.net/wiki/Skyrim:Hearthfire",
                                           "Dragonborn",          "http://www.uesp.net/wiki/Dragonborn:Dragonborn",
                                           "Other DLC",           "http://www.uesp.net/wiki/Skyrim:Official_Plug-ins");
    ModifySidebar("add",      "sections",  "Oblivion",            "http://www.uesp.net/wiki/Oblivion:Oblivion",
                                           "Knights of the Nine", "http://www.uesp.net/wiki/Oblivion:Knights_of_the_Nine",
                                           "Shivering Isles",     "http://www.uesp.net/wiki/Shivering:Shivering_Isles",
                                           "Other DLC",           "http://www.uesp.net/wiki/Oblivion:Official_Plug-ins");
    ModifySidebar("add",      "sections",  "Morrowind",           "http://www.uesp.net/wiki/Morrowind:Morrowind",
                                           "Tribunal",            "http://www.uesp.net/wiki/Tribunal:Tribunal",
                                           "Bloodmoon",           "http://www.uesp.net/wiki/Bloodmoon:Bloodmoon",
                                           "Other DLC",           "http://www.uesp.net/wiki/Morrowind:Official_Plug-ins");
    ModifySidebar("add",      "sections",  "Daggerfall",          "http://www.uesp.net/wiki/Daggerfall:Daggerfall");
    ModifySidebar("add",      "sections",  "Arena",               "http://www.uesp.net/wiki/Arena:Arena");

//--gaer--
    //ModifySidebar("clear",  "gaer");
    //ModifySidebar("add",    "gaer",      "Gaersmith Legacy",    "http://www.uesp.net/wiki/User:Daric_Gaersmith/TES_Fan_Fiction_Collection/Gaersmith_Legacy");
    //ModifySidebar("add",    "gaer",      "Reference Material",  "http://www.uesp.net/wiki/User:Daric_Gaersmith/TES_Fan_Fiction_Collection/Gaersmith_Legacy/Reference_Material");
    //ModifySidebar("add",    "gaer",      "Reading Fan Fiction", "http://www.uesp.net/wiki/User:Daric_Gaersmith/TES_Fan_Fiction_Collection/Reading_Fan_Fiction");
    //ModifySidebar("add",    "gaer",      "Proofreading",        "http://www.uesp.net/wiki/Category:User_Content-Collaboration-Limited");

//--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");
    ModifySidebar("add",      "community", "Forums",              "http://forums.uesp.net/index.php",
                                           "The Arts",            "http://forums.uesp.net/viewforum.php?f=25");
    ModifySidebar("add",      "community", "Chatroom",            "http://www.uesp.net/wiki/UESPWiki:IRC");

//--toolbox--
    //ModifySidebar("clear",  "toolbox");
    ModifySidebar("remove",   "toolbox",   "Printable Version");
    ModifySidebar("remove",   "toolbox",   "Permanent Link");
    ModifySidebar("remove",   "toolbox",   "Related changes");
    ModifySidebar("add",      "toolbox",   "File List",           "http://www.uesp.net/wiki/Special:ListFiles");
    ModifySidebar("add",      "toolbox",   "Templatery",          "http://www.uesp.net/wiki/User:Daric_Gaersmith/Templates");
    ModifySidebar("add",      "toolbox",   "CSList",              "http://www.uesp.net/wiki/UESPWiki:CSList",
                                           "Skyrim CSList",       "http://content3.uesp.net/oblivion/cs/cslist.php?game=sr",
                                           "Oblivion CSList",     "http://content3.uesp.net/oblivion/cs/cslist.php?game=ob",
                                           "Morrowind CSList",    "http://content3.uesp.net/oblivion/cs/cslist.php?game=mw",
                                           "CSList Data",         "http://cs.uesp.net");
    ModifySidebar("add",      "toolbox",   "Encode Text",         "http://www.tools4noobs.com/online_tools/encrypt");
    ModifySidebar("add",      "toolbox",   "Decode Text",         "http://www.tools4noobs.com/online_tools/decrypt");

//--tabs--
    ModifySidebar("remove",   "cactions",  "chat");

}
addOnloadHook(CustomizeModificationsOfSidebar);


// </nowiki></pre>