User:Amire80/RTL problems

SPQRobin's wgBetterDirectionality functionality was enable in Translatewiki.net. This is AWESOME, because now Translatewiki.net and MediaWiki in general are on their way to become much more friendly to right-to-left languages.

Top menu order

The top menu - Username, My talk, My prefs etc. - is displayed in reversed order. It's not a disaster, because all the link are properly visible (except font selection), but if it's not too complicated, it should be displayed as in the RTL Wikipedias, with the username on the right end and the Log out link on the left end.

Works for me. Maybe refresh the page or try a different language to confirm? SPQRobin 12:32, 27 June 2011 (UTC)

Apparently i had the RTL gadget enabled in my preferences. I don't even know what it does exactly; i probably enabled it because i thought that it will do something. Disabling it solved this problem. Maybe it can be retired completely now. --Amir E. Aharoni 13:53, 27 June 2011 (UTC)

Directionality of elements in the translation page

I mostly use the regular translation page and not the Enhanced translation editor (JavaScript). Now the translation editing field is properly set as RTL, but the source text is RTL, too, which is wrong.

Specifically, these elements must match the directionality of the language in which they are written:

Message definition - it's usually in English

Information about message - it's usually in English

Message in other languages - must match the language. Actually, it is already set correctly as a <span dir="XXX">, but it should be a <div dir="XXX">, so it will also be aligned to the correct side.

Fixed in r90876 (not yet live here atm). However, the language name (and google and similar text) is still incorrectly aligned. SPQRobin 14:16, 27 June 2011 (UTC)

If the interface language is RTL, initial direction of the main editing box is also RTL

The initial directionality of the main editing box must match the directionality of the content as it will be displayed. Until Bug 28970 is fixed, the only place where initial directionality of the editing box should be RTL is the editing box of the translated string in the translation page.