MediaWiki:Gadget-selfHighlight.js

// By Equazcion: http://terraria.gamepedia.com/User:Equazcion

$(function{	mw.util.addCSS('a.self-highlight { background-color: #D1DCFF !important; }');	$('#bodyContent a').each(function{ var $this = $(this); if ($this.attr('href') == '/User:' + mw.config.get('wgUserName')){ $this.addClass('self-highlight'); }	}); });