Page MenuHomePhabricator

[wmf.2 -regression] (minor) Add image - trash bin icon is misplaced
Closed, ResolvedPublic

Description

  1. On any wiki with enabled Add image task, go to an article with Add image recommendation.
  2. Answer "yes" to add an image - the trash bin in "Add image" box is misplaced.
Screen Shot 2022-03-21 at 6.08.10 PM.png (996×644 px, 623 KB)
Screen Shot 2022-03-21 at 6.15.38 PM.png (886×528 px, 147 KB)
Screen Shot 2022-03-21 at 5.56.52 PM.png (1×594 px, 414 KB)

Event Timeline

Etonkovidova renamed this task from [wmf.2 -regression] (minor) Add image - mw-ge-recommendedImage-header displayed on two lines to [wmf.2 -regression] (minor) Add image - trash bin icon is misplaced.Mar 22 2022, 1:22 AM
Etonkovidova updated the task description. (Show Details)

The selector we were overriding for figure[typeof~='mw:Image/Thumb'] increased in specificity, from

figure[typeof~='mw:Image/Thumb'] > *:first-child > span to
figure[typeof~='mw:Image/Thumb'] > *:first-child > span:first-child

Change 772874 had a related patch set uploaded (by MewOphaswongse; author: MewOphaswongse):

[mediawiki/extensions/GrowthExperiments@master] Add an image: fix placement of delete button

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

Change 772874 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Add an image: fix placement of delete button

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