Can someone help me to write java script blocking manual link to my pt-personal or pt-cactions Such as this can you fixed this
mw.util.addPortletLink( 'p-personal', mw.util.getUrl("/wiki/Special:Block/" encodedTarget), 'Block', 'pt-blocklink', 'Menu Block', null, '#pt-watchlist' )