User:Ague/common.js

/* Namespace Stripping Fix by Ague 20 April 2012 $('a[title^="Item:"]').each(function {   this.innerHTML = this.innerHTML.replace("Item:", "");    this.title = this.title.replace("Item:", ""); }) /* Leave final semi-colon out. When MW parses this, for some reason it automatically adds a semi-colon. */

/* Optionally, un-comment the code below to strip the Item: from the page title as well.

MAKE SURE TO ADD THE SEMI-COLON AFTER THE }) ABOVE IF YOU UN-COMMENT BELOW! */

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