User:Bellezzasolo/Scripts/dashboard.js

$( document ).ready( function { mw.util.addPortletLink( 'p-personal', mw.util.getUrl( 'Special:MyPage/Dashboard' ), //No need for a variable. 'Dashboard', 'pt-dashboard', 'Dashboard', null, '#pt-sandbox' ); });