Last modified: 2013-12-02 14:02:30 UTC
Created attachment 13948 [details] Slash Chracter in RTL WIki suppose I want to write "/hello" Left-to-Right in a RTL wiki: <div style="text-align:left">/hello </div> but the result is this: hello/ Slash character doesn't show properly.
Thanks for taking the time to report this! Confirmed by pasting the above line on https://ar.wikipedia.org/w/index.php?title=%D9%86%D9%82%D8%A7%D8%B4_%D8%A7%D9%84%D9%85%D8%B3%D8%AA%D8%AE%D8%AF%D9%85:AKlapper_%28WMF%29/bug57789 in preview mode.
but shouldn't it be <div style="text-align:left;" dir="ltr">/hello </div> in that case ? How would bidi now it's an ltr text otherwise ?
I think this is an invalid report. I think that directionality hints and browser specific implementations of the bi-directional text algorithms depend how this is rendered. Will ask Amir to assess.
(In reply to comment #2) > but shouldn't it be <div style="text-align:left;" dir="ltr">/hello </div> > > in that case ? How would bidi now it's an ltr text otherwise ? If I understand the report correctly the right thing to do is to use <div lang="en" dir="ltr" class="mw-content-ltr">/hello</div> style="text-align:left" is not supposed to be needed if you use the above attributes. Please reopen if Derk-Jan and I misunderstand something.
(In reply to comment #4) > (In reply to comment #2) > > but shouldn't it be <div style="text-align:left;" dir="ltr">/hello </div> > > > > in that case ? How would bidi now it's an ltr text otherwise ? > > If I understand the report correctly the right thing to do is to use > <div lang="en" dir="ltr" class="mw-content-ltr">/hello</div> > > style="text-align:left" is not supposed to be needed if you use the above > attributes. > > Please reopen if Derk-Jan and I misunderstand something. It worked, Thanks
There was no valid bug in existing MediaWiki code here, hence nothing was FIXED either. Resetting to INVALID.
Mid-air collision with explanation: Updating the resolution back to the original "invalid". Per https://www.mediawiki.org/wiki/Bug_management/Bug_report_life_cycle : * RESOLVED INVALID when the problem is not a bug. * RESOLVED FIXED when a code change that fixes the reported problem has been merged in Gerrit.