Page MenuHomePhabricator

mw-content-rtl class does not work in Vector 2022
Closed, DuplicatePublic

Description

The class mw-content-rtl used to work properly in legacy Vector, but since yesterday when I switched to the new Vector globally, mw-content-rtl class, which is used in some templates such as {{Template:آغاز فارسی}}, no longer works as expected. As an example, please see my talk page at Commons which does not render RTL text properly.

Event Timeline

These classes were deprecated [1]. Please see the user notice from June 2021 (T287701).

This code will not work in legacy Vector soon so please update your talk page markup per the instruction here [1]

Directionality styles previously provided by the deprecated legacy feature (T287410) or HTML elements which do not carry dir HTML attributes.
These have been copied across to legacy Vector to minimize disruption caused by T287701.
If you are reading this comment in 2022, please consider checking usage in wikitext and removing them both.

[1] https://github.com/wikimedia/Vector/blob/master/resources/skins.vector.styles.legacy/layouts/screen.less#L191