MediaWiki:Common.js

/* TOGGLE HIGHLIGHT ON ORDERED LISTS WHEN CLICKED */ $(":not(.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("Xbox:", "").replace("Xbox360:", "").replace("PS3:", ""); }); $('#firstHeading').each(function {   this.innerHTML = this.innerHTML.replace("Xbox:", "").replace("Xbox360:", "").replace("PS3:", ""); }); $('title').each(function {   this.innerHTML = this.innerHTML.replace("Xbox:", "").replace("Xbox360:", "").replace("PS3:", ""); })