Page MenuHomePhabricator

[wmf.29] [mobile] Section level image placeholder has no width
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):
See parent task.

What happens?:
The image placeholder shows as a thin line rather than square

What should have happened instead?:
The image placeholder should have appropriate dimensions for phone and tablet screens

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Screenshot 2023-11-13 at 17.36.10.png (1×1 px, 360 KB)

Event Timeline

Sgs triaged this task as High priority.
Sgs created this task.
Sgs moved this task from Incoming to Doing on the Growth-Team (Sprint 4 (Growth Team)) board.

Change 973834 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] Section images: do not use 0 width values for calculating placeholder width

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

Test wiki created on Patch demo by Martin Urbanec (WMF) using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/b20d1ca6be/w

Change 973834 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Section images: on mobile use overlay width for setting the image width

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

Checked in beta - the placeholder doesn't quite fit viewport widths with <390px:

Screen Shot 2023-12-14 at 2.25.52 PM.png (1×800 px, 191 KB)

Change 983761 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/GrowthExperiments@master] Section images: adjust placeholder width in narrow screens

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

Change 983761 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] Section images: adjust placeholder width in narrow screens

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

Checked on cswiki wmf.12 - the issue is fixed.

Checked in beta - the placeholder doesn't quite fit viewport widths with <390px:

Screen Shot 2023-12-14 at 2.25.52 PM.png (1×800 px, 191 KB)

Checked in beta - the issue is fixed.

Screen Shot 2023-12-20 at 6.20.06 PM.png (1×878 px, 256 KB)

Test wiki on Patch demo by Martin Urbanec (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/b20d1ca6be/w/