User:Pathoschild/Scripts/Force ltr

From Meta, a Wikimedia project coordination wiki
Jump to: navigation, search
User:Pathoschild (Scripts > Force ltr)


Screenshot showing the resulting changes.

Intended compatibility:

  • Skins: Monobook, Vector
  • Browsers: IE 7, all modern browsers

Version r7 (2011-05-07).

See also:

Force ltr forces left-to-right format 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.

[edit] Installation

  1. Add your name to the user list below to get code updates. (If you're not on the list, the script might unexpectedly stop working for you one day if there's a major change.)
  2. Add the following code to User:your user name/common.js. To enable it for all users on a wiki, add it to MediaWiki:Common.js instead.
    /*********
    ** Force left-to-right format on RTL wikis
    ** by [[m:user:Pathoschild]] <http://meta.wikimedia.org/wiki/User:Pathoschild/Scripts/Force_ltr>
    *********/
    mw.loader.load('http://meta.wikimedia.org/w/index.php?title=User:Pathoschild/Scripts/Force_ltr.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400');
    
  3. Refresh your browser to reload the JavaScript. (In Chrome or Firefox, press [CTRL] and [R] at the same time.)

[edit] See also

Personal tools
Namespaces

Variants
Actions
Navigation
Community
Beyond the Web
Print/export
Toolbox