MediaWiki:Common.js

/* TOGGLE HIGHLIGHT ON ORDERED LISTS WHEN CLICKED */ $(":not(.page-Xbox_Original_Xbox #bodyContent li, .references li) ol li").click(function (e) {   e.stopPropagation;    if(!($(this).hasClass("highlighted"))) {        $(this).addClass("highlighted");        $(this).find("li").addClass("highlighted");     } else {        $(this).removeClass("highlighted");        $(this).find("li").removeClass("highlighted");     } });

/* HIDE NAMESPACES */ $('h1#title').each(function {   this.innerHTML = this.innerHTML.replace(".*?:", ""); }); $('#firstHeading').each(function {   this.innerHTML = this.innerHTML.replace(".*?:", ""); }); $('title').each(function {   this.innerHTML = this.innerHTML.replace(".*?:", ""); })