Steps to reproduce:
- Go to a page without the "More" dropdown tab, e.g. a main page of a wiki where you aren't a sysop.
- Decrease the size of the window to make sure that there is only a small gap between the left and the right tabs.
- Execute
mw.util.addPortletLink( 'p-cactions', '#', 'My new portlet link', 'ca-my-portlet', 'Click here to test the new portlet' );
Actual result:
The right tabs drop below and cover the main heading.
Expected result:
The "History" tab should be collapsed into the "More" dropdown. This happens when you force collapsible tabs to trigger by resizing the window a little bit.





