NOTE: This work may result in icons disappearing in various gadgets. If you get any complaints after deploying this code please point them to T344067
Follow up work from T342908
Gadget developers can use `mw.util.addPortletLink` to add menu items. The switch to Codex will break this without changes
# TODO
[] makes the addPortletLink handler compatible with and without Codex.
[] It should work with the following code:
```
mw.util.addPortletLink('p-interaction', '#', 'text', 'foo2' )
mw.util.addPortletLink('page-actions', '#', 'text', 'foo3' )
mw.util.addPortletLink('p-personal', '#', 'text', 'foo' )
```
# QA
[] Check mw.util.addPortletLink is working as before.
[] Run `mw.util.addPortletLink('p-interaction', '#', 'text', 'foo2' )` in the console and confirm it adds to the main menu (hamburger)
[] Run `mw.util.addPortletLink('page-actions', '#', 'text', 'foo3' )` in the console and confirm it adds a page action without an icon.
[] Run `mw.util.addPortletLink('p-personal', '#', 'text', 'foo' )` in the console and confirm it adds to the user dropdown menu (make sure AMC is enabled)