Steps to replicate the issue (include links if applicable):
- Visit https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)/Archive_218#Thumbnail_background in light mode. Word of caution: in dark mode, this is overridden by skins
What happens?:
- Images currently default to a background color of @background-color-interactive-subtle.
- The caption of the image is @background-color-interactive-subtle
What should have happened instead?:
- Prior to 2023, these were #fff (prior to: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/969953) but changed when these were tokenized. It was unclear if this was intentional.
Either:
- This is correct (no change needed)
- OR Images should use a different color for background. Perhaps @background-color-base-fixed ?
- OR images should have no background (transparent) by default.
The background colors are defined here:
https://github.com/wikimedia/mediawiki/blob/master/resources/src/mediawiki.skinning/content.media-screen.less#L13
Original report
Backgrounds of framed images should be white (black in dark mode), not grey. Previously (2017): T154077: Backgrounds of framed images should be white, not grey
Regression was reported here:
Current appearance has a light grey in light mode, and a mess in dark mode:
| Light | Dark |
|---|---|


