User:虎之介/global.js

( function ( mw, $ ) {

$( document ).ready( function {		var conf, title, url;

conf = { subpageName: '', portletLabel: 'CentralAuth', portletTooltip: 'CentralAuthを閲覧', };

title = new mw.Title( 'Special:CentralAuth/' + conf.subpageName ); url = new mw.Uri( title.getUrl ); mw.util.addPortletLink(          'p-personal',			url,			conf.portletLabel,           'p-tooltip',			conf.portletTooltip,			null,		   '#pt-logout'		); }); }( mediaWiki, jQuery ) );

mw.loader.load('//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript');