MediaWiki:Common.js/Nav.js

//************************************************ // Wiki Nav Mod //************************************************ var modnav = ''; modnav += ''; modnav += 'Rules'; modnav += ''; modnav += 'Rules and Policies'; modnav += 'Method of Style'; modnav += 'Chat Room Rules</li>'; modnav += '</ul>'; modnav += '</li>';

$(document).ready(function {   if ( skin == 'oasis' && $.inArray("staff", wgUserGroups) == -1) {        $('.WikiHeader nav ul li.marked ul').append(modnav);	$('#rules').mouseover(function  { var $this = $(this); $this.addClass('marked2').find('.subnav-3').css('display', 'block'); }).mouseout(function { $(this).removeClass('marked2').find('.subnav-3').css('display', 'none'); });   } });