This reverts change d94a164509 (causing T326990) and followups.
Revert "Gallery: Improve initial state and fix thumbnail sizes"
This reverts commit 62763e5d52.
Revert "Fix exception in `<gallery mode="slideshow">` with missing images"
This reverts commit 160e7a50e7.
Revert "Galleries: Set anchor height as well as img height"
This reverts commit 9c8104e315.
Revert "Galleries: Make gallery code more resilient to HTML transformations"
This reverts commit 8c98123a28.
Revert "Galleries on mobile"
This reverts commit d94a164509.
Bug: T326990
Change-Id: I235f797ca64f44b3ab0b5c6784878ed56c45a82b
The gallery code should be more resilient to HTML transformations
that can occur inside mobile app and MobileFrontend (or gadgets).
Data attributes are generally left untouched, so provide this
information as part of the output of the LI element so that the
gallery code can make use of it where possible.
This resolves the problem of lazy loaded images in the mobile site
meaning the hook added for MobileFrontend can also be removed.
Follow up to I58e18924c02fe12baba820f25b7a6f0c437a206b
Bug: T194887
Change-Id: I186bb0dbbea84d4dbb1d7b55278c69b2b46603de
This option causes the thumbnail images for the slideshow to be visible
as soon as the slideshow is loaded. They can still be closed normally.`
Bug: T147913
Change-Id: Iae6fd4f016d9fc98280d4ba92e4332ff06e1fb9e