Page MenuHomePhabricator

Thumbnails of files not correctly rendered with Android
Closed, ResolvedPublicBUG REPORT

Description

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

What happens?:

  • the files are not displayed correctly: a blu background is added unexpectedly

What should have happened instead?:

  • no blu background should be dislayed

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):
Tested with Firefox and Chrome on mobile with Android.

Originally posted on the technical village pump of the Italian Wikipedia.

Screenshot_20230112_154105_org.mozilla.firefox.jpg (2×1 px, 265 KB)

The desktop version for comparison:

Screenshot 2023-01-13 at 18-36-49 Warriors Bologna - Wikipedia.png (840×1 px, 168 KB)

Event Timeline

JoKalliauer subscribed.

I can reproduce this on Android 11.

However I think:

  1. No SVGs are involved
  2. The PNGs are displayed correctly
  3. The blue background is added on purpose

But
The PNGs seems to be alligned wrongly (there should be no distance between the PNGs)

Patafisik renamed this task from Thumbnail of SVG not correctly rendered with Android to Thumbnails of files not correctly rendered with Android.Jan 13 2023, 5:29 PM
Patafisik updated the task description. (Show Details)

@JoKalliauer Yes, it is correct, my mistake, they are PNG not SVG files.
To clarify: What I am calling "the blue background" is the 4 blue frames that are not displayed in the desktop version. The blue color should be only inside the competition uniforms.

Jdlrobson subscribed.

This is an issue with the template that can be resolved by adding padding: 0; to the TD elements that have background image. The border you are seeing is due to the background applying to the padded area. Let me know if itwiki need any help doing this (this is out of scope for the Minerva skin developers).

I guess the issue lies in https://it.m.wikipedia.org/wiki/Template:Squadra_di_football_americano or https://it.m.wikipedia.org/wiki/Template:Infobox