Page MenuHomePhabricator

Add icon class to portlet links without IDs
Closed, ResolvedPublicBUG REPORT

Description

When an protlet link is added with mw.util.addPortletLink without an ID, it is not aligned with portlet links with an ID. This is because these links are not given the mw-ui-icon class, meaning the margin where the icon would go is never added.

image.png (170×336 px, 4 KB)
image.png (160×238 px, 3 KB)

In the pictures above, "User scripts" and "Random merge" do not have IDs, but "ABC" and "Scripts" do.

This is similar to T301012, but for Minerva instead of Vector.