Issue
- Visit a wiki that has been configured to support LTR languages*
- Navigate to a talk page where Topic Containers are enabled
- Change the "Display language" to a RTL language that uses Western Arabic numerals (e.g. Hebrew)
- Notice the interface elements that used to appear on the left side of the screen now appear on the right (e.g. the site's search field)
Actual
- ❗️ Notice the numerals that appear within the Topic Container appear after the text labels rather before them (read: "comments 4")
Expected
- ✅ Notice the numerals that appear within the Topic Container appear before the text labels rather before them (read: "4 comments")
*This also happens if you visit a wiki configured to support RTL languages and change the "Display language" from an RTL to an LTR language using Western Arabic numerals.
Open questions
- 1. Should Topic Containers be treated as a singular piece of interface that should maintain the directionality of the interface language? Meaning: all units, actions and metadata, would be aligned opposite of the content in the cases this ticket covers.
- 2. Should each piece of metadata (last comment, number of people in discussion) be treated as an individual unit that flows in the same direction as the content language? Note: this is how [edit ] and [edit source] buttons are treated.
- 3. What does precedence say? How does VE handle this case?
Done
- Expected behavior is implemented
Thank you to @Tacsipacsi for reporting this issue: Topic:Wse3oklohvbmozfx.