mw.util.addPortletLink edit

Any reason you didn't use this method? Is there a problem with it we need to fix?