Page MenuHomePhabricator

Follow up: Disambiguation icon on popups preview is non-standard
Closed, ResolvedPublic

Description

Follow up work is needed for T168392.

We appear to be wrestling with mw-ui-icon styles due to a bad icon that we're using - all icons should be 24 pixels by 24 pixels by standard and this one is 26 by 32

Acceptance criteria

  • Replace the icon
  • Remove the use of background-size: contains

Event Timeline

Change 421604 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/extensions/Popups@master] WIP: Standardise disambiguation icon

https://gerrit.wikimedia.org/r/421604

@alexhollender @Nirzar @Volker_E can you provide me with a standard icon to replace this one:

It needs to be 24x24.

It should be 20x20px with our new icon set.
LTR/RTL versions:


The icon positioning in this case makes no sense IMHO.

This icon is non standard because it is used in context as a visual illustrative element and not in action/button context. we have 20x20 icons* as standard size.

in this case, we required the illustration to be different size. almost double the 20x20. maybe we need to use different technique than mw-ui icon here.

*24x24 on mw-ui with 2px padding which we need to fix but that's another topic

We have large, regular and small icons.

in this case, we required the illustration to be different size. almost double the 20x20. maybe we need to use different technique than mw-ui icon here.

It doesn't look that way to me... we're showing it the same size as every other icon

I've swapped in @Volker_E icons and there's absolutely no visual difference. Thanks @Volker_E and now they work nicely in RTL mode.

There should never be a reason to stray from the non-standard icons. Honestly..!!

Jdlrobson renamed this task from Disambiguation icon on popups preview is non-standard to Follow up: Disambiguation icon on popups preview is non-standard.Mar 23 2018, 8:50 PM
Jdlrobson updated the task description. (Show Details)

Change 421604 merged by jenkins-bot:
[mediawiki/extensions/Popups@master] Standardise disambiguation icon

https://gerrit.wikimedia.org/r/421604

Nirzar claimed this task.

checked on Hindi wikipedia.

Macro votecat: looks good