MediaWiki:Wikia.js

// Replace "Luster Dragon #2" with "Luster Dragon 2" etc. when searching $('#WikiaSearch input:first-of-type').on('change', function {   $('#WikiaSearch input:first-of-type').val($('#WikiaSearch input:first-of-type').val.replace(' #', ' ')); });