Page MenuHomePhabricator

[Image Browsing] Carousel: Users should not see desktop MMV experience when clicking an image
Open, HighPublic1 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
Desktop MMV lightbox loads (which is not optimized for mobile)

What should have happened instead?:
We should continue to show the existing (and much more minimal) MobileFrontend "carousel" (no relation) when users click an image on the page.
In the near future we will give users a new mobile MMV lightbox experience, but for now we should prefer the current mobile UX to the legacy desktop UX.

Other information (browser name/version, screenshots, etc.):
This issue happens under both parsoid and legacy parser.

Event Timeline

egardner triaged this task as High priority.

Change #1295503 had a related patch set uploaded (by Eric Gardner; author: Eric Gardner):

[mediawiki/extensions/MultimediaViewer@master] Carousel: Defer to MobileFrontend lightbox on mobile

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

Test wiki created on Patch demo by EGardner (WMF) using patch(es) linked to this task:
https://274be381d4.catalyst.wmcloud.org/w/

You can test this in Patchdemo now:

Go to https://274be381d4.catalyst.wmcloud.org/wiki/International_Space_Station (or any page with images)
Login as Alice / patchdemo1 (this user has the mobile carousel feature enabled already)
Use mobile view to see the article

What should happen

The legacy Mobile Frontend lightbox should display if you click a carousel or body thumbnail

Bonus: the new mobile detail view still works if you add ?mmvBeta=1 to the URL

Change #1295503 merged by jenkins-bot:

[mediawiki/extensions/MultimediaViewer@master] Carousel: Defer to MobileFrontend lightbox on mobile

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

Change #1295962 had a related patch set uploaded (by Marco Fossati; author: Eric Gardner):

[mediawiki/extensions/MultimediaViewer@wmf/1.47.0-wmf.4] Carousel: Defer to MobileFrontend lightbox on mobile

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

Change #1295962 merged by jenkins-bot:

[mediawiki/extensions/MultimediaViewer@wmf/1.47.0-wmf.4] Carousel: Defer to MobileFrontend lightbox on mobile

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

Mentioned in SAL (#wikimedia-operations) [2026-06-01T23:20:20Z] <jdlrobson@deploy1003> Started scap sync-world: Backport for [[gerrit:1295963|Make MultimediaViewer compatible with MobileFrontend legacy parser (T427542)]], [[gerrit:1295962|Carousel: Defer to MobileFrontend lightbox on mobile (T427679)]]

Mentioned in SAL (#wikimedia-operations) [2026-06-01T23:22:03Z] <jdlrobson@deploy1003> mfossati, jdlrobson: Backport for [[gerrit:1295963|Make MultimediaViewer compatible with MobileFrontend legacy parser (T427542)]], [[gerrit:1295962|Carousel: Defer to MobileFrontend lightbox on mobile (T427679)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-06-01T23:27:37Z] <jdlrobson@deploy1003> Finished scap sync-world: Backport for [[gerrit:1295963|Make MultimediaViewer compatible with MobileFrontend legacy parser (T427542)]], [[gerrit:1295962|Carousel: Defer to MobileFrontend lightbox on mobile (T427679)]] (duration: 07m 17s)

This has now been backported to production. cc @mfossati