Page MenuHomePhabricator

103: Make the script RTL-compatible
Closed, ResolvedPublic

Description

Hi. There is a problem with RTL content. For example, RTL wikis or RTL users on LTR wikis.

image.png (102×458 px, 4 KB)

I suggest to add to the css file the code

#globalWatch-watchlistsFeed {
	text-align: left;
	direction: ltr;
}

[id^='globalWatch-feed-site-he_'], [id^='globalWatch-feed-site-ar_'], [id^='globalWatch-feed-site-azb_'], [id^='globalWatch-feed-site-ckb_'], [id^='globalWatch-feed-site-dv_'], [id^='globalWatch-feed-site-fa_'], [id^='globalWatch-feed-site-glk_'], [id^='globalWatch-feed-site-ks_'], [id^='globalWatch-feed-site-lrc_'], [id^='globalWatch-feed-site-mzn_'], [id^='globalWatch-feed-site-nqo_'], [id^='globalWatch-feed-site-pnb_'], [id^='globalWatch-feed-site-ps_'], [id^='globalWatch-feed-site-sd_'], [id^='globalWatch-feed-site-ug_'], [id^='globalWatch-feed-site-ur_'], [id^='globalWatch-feed-site-yi_'] {
	text-align: right;
	direction: rtl;
}

.globalWatch-site a {
	unicode-bidi: isolate;
	display: inline-block;
}

or an equivalent one. Thank you.

Event Timeline

Restricted Application reassigned this task from IKhitron to DannyS712. · View Herald TranscriptFeb 12 2020, 6:00 PM
Restricted Application added a subscriber: DannyS712.
DannyS712 renamed this task from Make the script RTL-compatible to 103: Make the script RTL-compatible.Feb 12 2020, 6:01 PM
DannyS712 claimed this task.

If you are talking about assigning, seems like the bot re-assignes it to you every time the task is edited.

If you are talking about assigning, seems like the bot re-assignes it to you every time the task is edited.

The bot assigned it the first time, and then when I was editing the task it reassigned it to me. Either way, you wrote the code :)
Just need to figure out some test cases - can you post some hebrew / arabic / rtl usernames?

[[user:ערן]], [[user:ביקורת]], [[user:דוד שי]].

Pushed in 8.1.0 and css 6.0 - @IKhitron can you test that this is working for you now?

It is, in both versions. Thanks a lot.