Force ltr

From Meta, a Wikimedia project coordination wiki
Jump to: navigation, search

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.

Installation[edit]

  1. 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');
    
  2. Refresh your browser to reload the JavaScript. (In Chrome or Firefox, press [CTRL] and [R] at the same time.)

See also[edit]