Steps to replicate the issue:
The replication steps are:
- Visit https://it.wikipedia.org/wiki/Speciale:Preferenze#mw-prefsection-rendering-files
- Set thumbnail size to 400px (the default is 250px)
- Compare https://it.wikipedia.org/wiki/Utente:Jdlrobson/T375981?useparsoid=1 with https://it.wikipedia.org/wiki/Utente:Jdlrobson/T375981?useparsoid=0
What happens?:
The image is bigger in the legacy parser.
What should have happened instead?:
The image should be the same, or we should drop support for this thumbnail preference as part of the roll out of parsoid
Other information (browser name/version, screenshots, etc.):
- We vary the HTML based on the thumbnail setting
- For 400px we serve a 500px image and scale it down using width and height attributes on the element in legacy parser
- The default is 250px
- Impacts all read views on projects where Parsoid is default (e.g. Wikivoyage)