User:Gmt2001/uaalink.js

mw.loader.using(new Array('mediawiki.util', 'mediawiki.Title', 'mediawiki.Uri'), function {	( function ( mw, $ ) { $( document ).ready( function {			var conf, title, url;			// Costomize/Translate this to your needs			conf = {				pageName: 'WP:UAA',				portletLabel: 'UAA',				portletTooltip: 'Go to Wikipedia:Usernames for administrator attention',			};			// Don't alter the code below			title = new mw.Title( conf.pageName );			url = new mw.Uri( title.getUrl );			mw.util.addPortletLink( 'p-personal', url, conf.portletLabel, 'pt-myuaalink', conf.portletTooltip, null, '#pt-preferences' );		});	}( mediaWiki, jQuery ) ); });