Missing <bdi></bdi> tag for the text in Gallery
Before | After (bdi) |
hueitan | |
Aug 23 2021, 9:45 AM |
F34661613: image.png | |
Sep 29 2021, 3:59 PM |
F34661608: image.png | |
Sep 29 2021, 3:59 PM |
F34660396: image.png | |
Sep 28 2021, 11:44 AM |
F34660261: image.png | |
Sep 28 2021, 9:52 AM |
F34659548: Screenshot 2021-09-27 at 22.00.03.png | |
Sep 27 2021, 8:03 PM |
F34659550: Screenshot 2021-09-27 at 21.59.52.png | |
Sep 27 2021, 8:03 PM |
F34617687: image.png | |
Aug 23 2021, 9:46 AM |
F34617685: image.png | |
Aug 23 2021, 9:46 AM |
Missing <bdi></bdi> tag for the text in Gallery
Before | After (bdi) |
I'm not sure this is a bug or a limitation of the sentence being in a LTR language shown as RTL.
This sentence is cut differently on RTL, starting from the end of the sentence instead of the beginning.
Is this ok or fixable?
RTL | LTR |
I think I found another edge case, is that what's supposed to show or the description text?
commons | preview | commons url | test article |
https://commons.m.wikimedia.org/w/index.php?curid=35434198 | articles/arabic.html |
I'd say this is a possible candidate for a new ticket where we could revisit how we source the image caption, but likely out of scope for this RTL/LTR ticket. Currently the code attempts to grab the caption from a couple of places, the caption landing in that image for example is from this api call: