User:Karlis/wikia.js

// =============================================== // Name: addOldSpecials // Desc: Re-add non-sysop special page layouts. // =============================================== if ( wgNamespaceNumber !=undefined && !window.rmADash ) { addOnloadHook( addOldSpecials ); } var rmADash = true; function addOldSpecials { $('  RuneScape Wiki Navigation Gielinor History of Gielinor<a href="/wiki/God_Wars">The God Wars</a></li><a href="/wiki/Fifth_Age">Fifth Age, Year 169</a></li><a href="/wiki/Free-to-play">Free-to-play</a></li><a href="/wiki/Members">Members</a></li><a href="/wiki/World_map/interactive">Interactive World map</a></li></ul></li><a href="/wiki/Guides">Guides <img width="0" height="0" class="chevron" src="http://images1.wikia.nocookie.net/__cb40398/common/skins/common/blank.gif"></a><ul class="subnav" style="display: none;"><a href="/wiki/List_of_quests">Quests</a></li><a href="/wiki/Task_System">Task System</a></li><a href="/wiki/Treasure_Trails/Guide">Treasure Trails</a></li><a href="/wiki/Distractions_and_Diversions">Distractions and Diversions</a></li><a href="/wiki/Money_making_guides">Money making guides</a></li><a href="/wiki/Skill_training_guides">Skill training guides</a></li><a href="/wiki/Beginner%27s_guide">Beginner\'s guide</a></li></ul></li><a href="/wiki/Game_Guide">Information Bank <img width="0" height="0" class="chevron" src="http://images1.wikia.nocookie.net/__cb40398/common/skins/common/blank.gif"></a><ul class="subnav" style="display: none;"><a href="/wiki/Skills">Skills</a></li><a href="/wiki/Weapons">Weapons</a></li><a href="/wiki/Armour">Armour</a></li><li><a href="/wiki/Items">Items</a></li><li><a href="/wiki/Bestiary">Bestiary</a></li><li><a href="/wiki/Activities">Activities</a></li><li><a href="/wiki/Grand_Exchange_Market_Watch">Grand Exchange Market Watch</a></li></ul></li><li><a href="/wiki/RuneScape:Community_Portal">Wiki Community <img width="0" height="0" class="chevron" src="http://images1.wikia.nocookie.net/__cb40398/common/skins/common/blank.gif"></a><ul class="subnav" style="display: none;"><li><a href="/wiki/RuneScape:Events_Team">Wiki Events</a></li><li><a href="http://runescape.wikia.com/forum/ ">Wiki forums</a></li><li><a href="/wiki/RuneScape:User_help">Request help</a></li><li><a href="/wiki/RuneScape:Off-site">IRC and Off-site features</a></li><li><a href="/wiki/Forum:Yew_Grove">Yew Grove Community discussions</a></li><li><a href="/wiki/RuneScape:Counter-Vandalism_Unit">Counter-Vandalism Unit</a></li><li><a href="/wiki/Special:RecentChanges">Recent changes</a></li></ul></li><li><a href="/wiki/RuneScape:Contact_us">Contact Us</a></li></ul> <a data-id="randompage" class="wikia-button secondary" accesskey="x" title="Random Page" href="/wiki/Special:Random"><img width="0" height="0" class="sprite random" src="http://images1.wikia.nocookie.net/__cb40398/common/skins/common/blank.gif"> Random Page</a><a data-id="wikiactivity" class="wikia-button secondary" accesskey="g" title="Wiki Activity" href="/wiki/Special:WikiActivity"><img width="0" height="0" class="sprite activity" src="http://images1.wikia.nocookie.net/__cb40398/common/skins/common/blank.gif">Wiki Activity</a> <a accesskey="l" title="Special:Watchlist" href="/wiki/Special:Watchlist">Watchlist</a><a accesskey="r" title="Special:RecentChanges" href="/wiki/Special:RecentChanges">Recent changes</a> <img width="0" height="0" src="http://images1.wikia.nocookie.net/__cb40398/common/skins/common/blank.gif" class="shadow-mask"> ').insertAfter('#AdminDashboardHeader'); $('<header class="WikiaPageHeader separator" id="WikiaPageHeader"> ' + wgTitle + ' Special page <form method="get" action="index.php?title=Special:Search" class="WikiaSearch" id="WikiaSearch"><input type="text" accesskey="f" autocomplete="off" placeholder="Search the RuneScape Wiki" name="search"><input type="hidden" value="0" name="fulltext">  <img width="21" height="17" class="sprite search" src="http://images1.wikia.nocookie.net/__cb40398/common/skins/common/blank.gif">   ').insertAfter('#OldSpecialsHeader'); }