MediaWiki:Gadget-selfHighlight.js

$(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'); }	}); });