User:Amire80/RTL problems

From translatewiki.net
Jump to: navigation, search

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.

There are still some issues, though, and this page lists them.

WebFonts selection

The TT (TrueType) icon near the font selection link in the top menu overlaps with the link text.

Hmm.. I can't get it fixed. SPQRobin 13:03, 27 June 2011 (UTC)
It's OK, i'll tell Santhosh. --Amir E. Aharoni 13:54, 27 June 2011 (UTC)

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 default on this wiki is that the content is always LTR, and this is fine. But if the user's interface language is RTL, initial direction of the main editing box is now RTL, which is usually wrong for user pages, discussion pages etc. It ultimately goes back to Bug 28970 - there's no clean way to indicate the directionality of the content of the page.

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.

Works for me as well.. Strange. SPQRobin 12:33, 27 June 2011 (UTC)
Disabling the RTL gadget solved this problem, too. --Amir E. Aharoni 13:54, 27 June 2011 (UTC)