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:", "").replace("PS4:", "").replace("NES:", ""); }); $('#firstHeading').each(function {   this.innerHTML = this.innerHTML.replace("Xbox:", "").replace("Xbox360:", "").replace("PS3:", "").replace("PS4:", "").replace("NES:", ""); }); $('title').each(function {   this.innerHTML = this.innerHTML.replace("Xbox:", "").replace("Xbox360:", "").replace("PS3:", "").replace("PS4:", "").replace("NES:", ""); })