Open betta7776 opened 2 months ago
Page with the issue: https://helldivers.wiki.gg/index.php?title=Clapping&oldid=38062 Something weird is going on. The EmbedVideo content has the width 640px and height 320px defined, but the gallerybox from MediaWiki core is not respecting that. We probably have to do a deep dive into MW core to see what is going on with the gallerybox parsing.
@octfx It might be quite time consuming and hack to implement a fix for the legacy parser while the gallerybox have already moved to Parsoid completely since MW 1.41. I don't have a timeline of fixing this, perhaps maybe you can take a look?
Describe the bug When a gallery is set to mode=packed, and no height is defined, embedded videos get smashed into a width of only a few pixels. Normal images work with no height is defined.
To Reproduce Steps to reproduce the behavior:
Expected behavior The embed should be visible even with no height defined.
Screenshots mode="packed" heights="241px" widths="241px":
mode="packed" heights="241px", no width defined:
mode="packed" widths="241px", no height defined:
mode="packed", no width or height defined:
Technical information:
Additional context Also not sure that height is correct when width and height are both defined.