Last modified on 24 August 2011, at 00:30
ltr Given a language code, returns the text direction (either "ltr" or "rtl")
If no code is passed as a parameter, takes it from the title of the page it is used on. e.g. on Foo:Blahblah/en will return "ltr", on Foo:Blahblah/ar will return "rtl"