Page MenuHomePhabricator

[Image Browsing] Exclude infobox images from carousel
Closed, ResolvedPublic2 Estimated Story Points

Description

As a reader, I don't see lead infobox images in the carousel.
Note: this should also flow through into our logic of only article pages with 3+ images getting the carousel, e.g., if the third image for a page would be its infobox image, it shouldn't get the carousel.

Event Timeline

SherryYang-WMF updated the task description. (Show Details)

Change #1344401 had a related patch set uploaded (by LWatson; author: LWatson):

[mediawiki/extensions/MultimediaViewer@master] ThumbExtractor: exclude lead infobox images from the carousel

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

Change #1344401 merged by jenkins-bot:

[mediawiki/extensions/MultimediaViewer@master] ThumbExtractor: exclude lead infobox images from the carousel

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

Change #1344630 had a related patch set uploaded (by Marco Fossati; author: LWatson):

[mediawiki/extensions/MultimediaViewer@wmf/1.47.0-wmf.21] ThumbExtractor: exclude lead infobox images from the carousel

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

Change #1344630 merged by jenkins-bot:

[mediawiki/extensions/MultimediaViewer@wmf/1.47.0-wmf.21] ThumbExtractor: exclude lead infobox images from the carousel

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

Mentioned in SAL (#wikimedia-operations) [2026-09-24T13:06:21Z] <mlitn@deploy1003> Started scap sync-world: Backport for [[gerrit:1344617|Instrument five-arm image carousel retest (T431362)]], [[gerrit:1344619|Wire image carousel retest instrumentation (T431362)]], [[gerrit:1344627|ThumbExtractor: trim nbsp and dangling colons from caption text (T435672)]], [[gerrit:1344630|ThumbExtractor: exclude lead infobox images from the carousel (T438907)]]

Mentioned in SAL (#wikimedia-operations) [2026-09-24T13:10:32Z] <mlitn@deploy1003> mfossati, mlitn: Backport for [[gerrit:1344617|Instrument five-arm image carousel retest (T431362)]], [[gerrit:1344619|Wire image carousel retest instrumentation (T431362)]], [[gerrit:1344627|ThumbExtractor: trim nbsp and dangling colons from caption text (T435672)]], [[gerrit:1344630|ThumbExtractor: exclude lead infobox images from the carousel (T438907)]] synced to the testservers (see https://wiki

Mentioned in SAL (#wikimedia-operations) [2026-09-24T13:18:47Z] <mlitn@deploy1003> Finished scap sync-world: Backport for [[gerrit:1344617|Instrument five-arm image carousel retest (T431362)]], [[gerrit:1344619|Wire image carousel retest instrumentation (T431362)]], [[gerrit:1344627|ThumbExtractor: trim nbsp and dangling colons from caption text (T435672)]], [[gerrit:1344630|ThumbExtractor: exclude lead infobox images from the carousel (T438907)]] (duration: 12m 25s)

matthiasmullie subscribed.

Random unsolicited subjective comment: I 'm not sure I find this to really be an improvement.
While there was sometimes some duplication (which IMO wasn't too bad, given that there's usually some lead text pushing the infobox further down) of images also visible in the infobox, I find that omitting those images leaves me slightly more confused WRT what those images in the carousel are: they're often more specific and require more context to grasp immediately how exactly (or even that) they're related to the article. The infobox images are more generic and obvious.
Also: if we do want to tackle the duplication, we might want to omit *all* lead section images rather than only those in the infobox - these are often enough both even more visible/higher up, and larger, making them a bigger problem than the infobox images. E.g. https://en.wikipedia.org/wiki/History_of_New_York_City_(1898%E2%80%931945)

That said, ticket accomplished, works as advertised!