User:Usernamekiran/commandbase.js

$.when( mw.loader.using( ['mediawiki.util'] ), $.ready ).done( function { mw.util.addPortletLink( 'p-personal', mw.util.getUrl('User:Usernamekiran/command base'), 'command base', null, '#pt-preferences' ); });