Page MenuHomePhabricator

Dark mode does not render correctly on the Android app.
Closed, ResolvedPublicBUG REPORT

Description

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

  1. Open the Wikipedia Android app.
  2. Go to [[User:LucasBrown/DarkModeTest]].
  3. Select any theme other than the black-text-on-white-background one.

What happens?:

Some elements are rendered with the wrong colors. In particular, I have observed <math>...</math> blocks, image captions, {{NumBlk}} backgrounds, and {{math}} templates inside wikilinks to have the wrong colors.

What should have happened instead?:

See the above-mentioned page for details.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

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

These problems were observed on version 2.7.50490-r-2024-05-28 of the Wikipedia Android app.

Screenshot_20240613-225926.png (2×1 px, 477 KB)

Screenshot_20240613-225944.png (2×1 px, 247 KB)

Event Timeline

Jdlrobson added subscribers: Dbrant, Jdlrobson.

https://en.wikipedia.org/wiki/User:LucasBrown/DarkModeTest renders fine in web. Is this still an issue on Android @Dbrant ? If so, let's share notes!

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

[mediawiki/services/mobileapps@master] Use ResourceLoader instead of local copies of styles.

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

Change #1082532 merged by Cooltey:

[mediawiki/services/mobileapps@master] Use ResourceLoader instead of local copies of styles.

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

ABorbaWMF subscribed.

ooks good on 2.7.50543-r-2025-07-31

Tested on Pixel 6 on Android 15 and OnePlus 8 on Android 13. Tested on the user page above and others.