Last modified: 2013-06-10 06:36:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51113, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49113 - Bug in showing Arabic scripts content
Bug in showing Arabic scripts content
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
UniversalLanguageSelector (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-04 12:21 UTC by Amir Ladsgroup
Modified: 2013-06-10 06:36 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Content in Chrome (59.65 KB, image/jpeg)
2013-06-04 12:21 UTC, Amir Ladsgroup
Details
content in IE (57.69 KB, image/jpeg)
2013-06-04 12:24 UTC, Amir Ladsgroup
Details
show arabic in chrom (227.94 KB, image/jpeg)
2013-06-07 13:12 UTC, Florence
Details
show arabic in Internet explorer (198.54 KB, image/jpeg)
2013-06-07 13:14 UTC, Florence
Details

Description Amir Ladsgroup 2013-06-04 12:21:48 UTC
Created attachment 12448 [details]
Content in Chrome

Hello, In wikitest-rtl we use ULS. This wiki is made for finding bugs for RTL languages, you can read more in [1] and you can find out which version of mediawiki or ULS we're using in Special:Version
Contents that use Arabic scripts (Persian language for example) have very strange bugs in Chrome and IE, when we set our language Persian or Arabic

1-Chrome shows content with "!" between each word I attached an image to show that what it's look like. the URL is [2] so you can test it, too

2-IE shows all of content with separated letters (In Persian separated and joined letters look different) I attached an image for this, too 

3-in FF everything looks fine 

I think problem is in using embedded font but I'm not sure

[1]: http://blog.wikimedia.org/2013/05/30/test-features-in-a-right-to-left-language-environment/

[2]: http://tools.wmflabs.org/wikitest-rtl/w/index.php?title=User_talk:Calak&uselang=fa   or uselang=ar

Best
Comment 1 Amir Ladsgroup 2013-06-04 12:24:59 UTC
Created attachment 12449 [details]
content in IE
Comment 2 Siebrand Mazeland 2013-06-04 12:33:19 UTC
Please provide detailed information on the operating system and browsers used, and the settings in ULS for content and user interface language.

I could so far not reproduce this issue in browsers on OSX (Firefox 21.0, Safari 6.0.4, Chrome 27) and Windows 7 (IE10, Firefox 21.0). Please provide exact steps to reproduce.
Comment 3 Amir Ladsgroup 2013-06-04 12:57:01 UTC
I copy content of chrome://version 

Google Chrome	27.0.1453.94 (Official Build 201630) m
OS	Windows 
WebKit	537.36 (@150101)
JavaScript	V8 3.17.6.14
Flash	11.7.700.203
User Agent	Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36

please try to set language Persian or Arabic maybe problem comes from this I mean this 
http://tools.wmflabs.org/wikitest-rtl/w/index.php?title=User_talk:Calak&setlang=fa

what i see in chrome is a "!" instead of every space (" ") character 

I think doing these steps will reproduce exact problem because now even in English bug remained:
1- set your language Persian ("فارسی")
2- go to a page that you haven't see it before (maybe clearing cache will work the same) (I provided some of them in [1] [2])
3-see the bug

[1]:http://tools.wmflabs.org/wikitest-rtl/w/index.php?title=%D8%B5%D9%81%D8%AD%D9%87%D9%94_%D8%A7%D8%B5%D9%84%DB%8C
[2]:http://tools.wmflabs.org/wikitest-rtl/w/index.php?title=%D8%A7%D9%84%D8%B5%D9%81%D8%AD%D8%A9_%D8%A7%D9%84%D8%B1%D8%A6%D9%8A%D8%B3%D9%8A%D8%A9

I used inspect element and showed this:
"<h1 id="firstHeading" class="firstHeading" lang="dv" style="font-family: FreeFont-Thaana, sans-serif;"><span dir="auto">الصفحة الرئيسية</span></h1>"
I think problem is this font "Thaana". please let font change with language of browser
Comment 4 Amir Ladsgroup 2013-06-04 13:08:43 UTC
a very unrelated request: let copyright note change with language. 

We set our wiki language dv (for some reasons) In every language you see copyright note in dv ("ހުރިހާ މާއްދާއެއް Creative Commons Attribution Share Alike ގެ ދަށުން ލިބެން އެބަހުއްޓެވެ.")
Comment 5 Siebrand Mazeland 2013-06-04 13:14:22 UTC
(In reply to comment #4)
> a very unrelated request

Make unrelated change requests in other reports, please.
Comment 6 Amir Ladsgroup 2013-06-04 13:20:02 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > a very unrelated request
> 
> Make unrelated change requests in other reports, please.

done in bug #49116
Comment 7 Santhosh Thottingal 2013-06-06 06:03:01 UTC
I am not able to reproduce this with the steps given. The screenshots attached is very small and not at all readable for me.
Comment 8 Florence 2013-06-07 13:12:37 UTC
Created attachment 12493 [details]
show arabic in chrom
Comment 9 Florence 2013-06-07 13:14:02 UTC
Created attachment 12494 [details]
show arabic in Internet explorer
Comment 10 Amir E. Aharoni 2013-06-07 23:34:17 UTC
OK, I was able to reproduce it. Indeed, this happens because ULS applies a Thaana (Divehi) font to Persian text, and this produces weird results. The right thing is to apply <div lang="fa">.

This is by design: ULS currently is only for selecting the interface language, and the content language is a constant in LocalSettings. This may become easier when bug 9360 is resolved.

This can probably be closed as INVALID, but it does raise a rather important issue: People who edit wikis *should* apply lang attributes to all embedded foreign text, but quite often they don't, and webfonts may start breaking things here and there.
Comment 11 Florence 2013-06-08 00:34:21 UTC
Thanks Dear Amir
no Farsi and Arabic Show is Ok with {{lang|fa}} and {{lang|ar}}

Florence
Comment 12 Florence 2013-06-08 00:35:06 UTC
(In reply to comment #11)
 Thanks Dear Amir
Sorry
 now Farsi and Arabic Show is Ok with {{lang|fa}} and {{lang|ar}}
 
 Florence
Comment 13 Siebrand Mazeland 2013-06-10 06:36:28 UTC
Closed per comment 10. Thanks for getting this sorted out.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links