How can we facilitate flipping of images for RTL scripts in a clean fashion — ideally without adding otherwise unneeded mark-up, or relying on solutions that push this up the chain on the systems level (e.g. ResourceLoader, which may go away w/o us being in control / are unavailable e.g. in our cherished dev mode)?
This was left out of T233791 as, given the current asset, it is not strictly required and warrants a sustainable general solution.
Termbox solves this through CSS [[ https://gerrit.wikimedia.org/r/plugins/gitiles/wikibase/termbox/+/b611e87e9b44d2ab705e452fc68e6200f51b03b9/src/components/EventEmittingButton.vue#66 | referencing a (redundant) attribute on a DOM element under our control ]].
ResourceLoader offers - somewhat "magic" - [[ https://www.mediawiki.org/wiki/ResourceLoader/Architecture#Flipping | use of alternative file names ]].
How can we solve this cleanly? Ideally without adding otherwise unneeded mark-up, or relying on solutions that push this up the chain on the systems level (which may go away w/o us being in control / are unavailable e.g. in our cherished dev mode).Is there a better way?