Page MenuHomePhabricator

Update app images to request MediaWiki standard sizes
Closed, ResolvedPublic2 Estimated Story Points

Description

We need to alter the the image sizes that we fetch in the app from:

120, 240, 640, 1280, 2560, 3840 (doubled due to retina devices)

to:

20, 40, 60, 120, 250, 330, 500, 960, 1280, 1920, 3840

Most work was already done for the spike https://phabricator.wikimedia.org/T412161. That work is in the adjust_thumbnails branch. There's only a little bit of cleanup remaining (I would like to remove the LegacyWidth enum entirely and possibly move to a new enum with these 11 sizes). Other than that the plumbing for this is already developed.

Test Steps

In build 7.8.11.

General regression around app images. Confirm that they don't look severely degraded, that the app still scrolls well on lists with lots of thumbnails, that images aren't missing, etc.

Event Timeline

Tsevener set the point value for this task to 2.Jan 6 2026, 5:46 PM
ABorbaWMF subscribed.

Working for me on 7.8.11 (5937). Tested on iPhone 16 on iOS 26, iPad Air 11-inch on iPadOS 26, and iPhone XS on iOS 26. Tested on all themes and across multiple languages.