Force ltr
(Redirected from User:Pathoschild/Scripts/Force ltr)
Force ltr forces left-to-right layout and editing on right-to-left wikis. This resolves editing glitches in many browsers when one's preferred language is left-to-right, and corrects display when the interface language is not right-to-left. This script is compatible with all Wikimedia skins.
Force ltr
-
A comparison with and without the script.
Installation
edit- Copy the following code to your global.js page (for all wikis) or your common.js page (for Meta only).
/** * Forces left-to-right layout and editing on RTL wikis. * @see https://meta.wikimedia.org/wiki/Force_ltr * @update-token [[File:pathoschild/forceltr.js]] */ mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.forceltr.js');
- Refresh your browser to reload the JavaScript. (In Chrome or Firefox, press [CTRL] and [R] at the same time.)