Page MenuHomePhabricator

Image dimming affects <math></math> tags
Closed, ResolvedPublic1 Estimated Story Points

Description

Steps to reproduce

  1. In the Wikipedia Android app, open any page with <math></math> tags, such as https://en.wikipedia.org/wiki/User:LucasBrown/DarkModeTest.
  2. Change your settings to dark mode, with image dimming off.
  3. Observe that the <math></math> content has the same color as ordinary text.
  4. Turn on image dimming.
  5. Observe that the <math></math> content has now turned grey, making it harder to read.

Please exempt <math></math> content from image dimming.

Environments observed

App version: 2.7.5051-r-2024-11-20
Android OS versions: 14
Device model: Nokia XR20
Device language: English (United States)

Details

Event Timeline

Bugreporter2 subscribed.
Bugreporter2 unsubscribed.

Change #1173934 had a related patch set uploaded (by Dbrant; author: Dbrant):

[mediawiki/services/mobileapps@master] When dimming images, don't dim math formulas.

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

Change #1173934 merged by Cooltey:

[mediawiki/services/mobileapps@master] A few minor style updates.

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

ABorbaWMF subscribed.

Appears to be fixed on 2.7.50544-r-2025-08-11

Tested on Pixel 6 on Android 15 and OnePlus 8 on Android 13. Tested on multiple math articles.