User:Pathoschild/Scripts/Force ltr
From Meta, a Wikimedia project coordination wiki
< User:Pathoschild | Scripts
| User:Pathoschild (Scripts > Force ltr) |
|
Intended compatibility:
Version r7 (2011-05-07). |
See also:
|
| report a bug or suggestion |
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
- 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.)
- 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');
- Refresh your browser to reload the JavaScript. (In Chrome or Firefox, press [CTRL] and [R] at the same time.)