User:Sonicwave/dungeons-link-format.js

$(function {	var namespace = mw.config.get( 'wgCanonicalNamespace' );	if (namespace !== 'Minecraft_Dungeons' && namespace !== 'Minecraft_Dungeons_talk' && namespace !== 'User') return;	$("#mw-content-text a").each(function { newHtml = $(this).html.replace('Minecraft Dungeons:', ''); newHtml = $(this).html.replace('Dungeons:', ''); newHtml = $(this).html.replace('MCD:', ''); $(this).html(newHtml); }); });