MediaWiki:Gadget-adminHighlight.js

$(function{	var urlPre = 'http://terraria.gamepedia.com';	var adminListPage = 'MediaWiki:AdminList.js';	mw.util.addCSS('a.admin-highlight { background-color: #CCF2F1; }');	$.get(urlPre + '/index.php?action=raw&ctype=application/json&title=' + adminListPage, function(data){ admins = data.split(","); $('#bodyContent a').each(function{			var $this = $(this);			var user = $this.attr('href').replace(/\/User:/, '');			if ($.inArray(user, admins) > -1) {				$this.addClass('admin-highlight');			}		}); }); });