Last modified: 2012-11-06 07:27:12 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 T6016, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4016 - BiDi: cosmetics about rendering for InterWiki links - fixes to targets which do not match the content language orientation
BiDi: cosmetics about rendering for InterWiki links - fixes to targets which ...
Status: RESOLVED LATER
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
unspecified
All All
: Lowest enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: rtl
  Show dependency treegraph
 
Reported: 2005-11-17 19:42 UTC by lɛʁi לערי ריינהארט
Modified: 2012-11-06 07:27 UTC (History)
3 users (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2005-11-17 19:42:22 UTC
url's and examples will be provided today
resolution will be changed to "LATER"
dependency to blocks bug 745
Comment 1 lɛʁi לערי ריינהארט 2005-11-17 20:14:20 UTC
[[en:User:Gangleri/tests/bugzilla/04016]]
[[he:User:Gangleri/tests/bugzilla/04016]]

Hallo!

You probably noticed that titles in InterWiki links (mainly InterLanguage links
to sister projects) are displayed differently then in the targer wiki due to the
mismatch of the orientation type (LTR or RTL) of the wiki's.

This report trays to offer a solution for most of the cases. Limitations when
targets are routed trough more wiki's (as gateway wiki's) are handeled at the end.

I assume that the InterWiki table should be expanded with information about the
orientation (LTR, RTL or PRESERVE) of the target wiki.

[[commons:]] and [[meta:]] would be associated with "LTR"
but
[[wikt:]] and [[news:]] would be associated with "PRESERVE"
[[ar:]] [[fa:]] [[he:]] [[ur:]] [[yi:]] would be associated with "RTL" and most
(if not all) of the other language prefixes would be associated with "LTR"

A procedure which should fix the actual problems should do the following *only*
at InterWiki links which targets orientation *"mismatchs"*:

At RTL wiki they should embed the title in ‪ and &#8236.
http://he.wikipedia.org/wiki/%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9:Gangleri/tests/bugzilla/04016#.E2.80.AA.26.238234.3B_and_.26.238236.3B.E2.80.AC
The second example there is generated as
[[
commons:
‪
User:File Upload Bot (Dori)
‬
]]

At LTR wiki they should embed the title in ‫ and &#8236.
http://en.wikipedia.org/wiki/User:Gangleri/tests/bugzilla/04016#.E2.80.AA.26.238235.3B_and_.26.238236.3B.E2.80.AC
The second example there is generated as
[[
commons:
‫
אבטיפוס (להקה)
‬
]]


The generated links hould remain unchanged. Only the "alternate" text is
adjusted and the link is rendered if displayed on the page. "Complications" with
pipe links could be discussed later.


Please note that in order to provide correct orientation for
[[w:en:אבטיפוס (להקה)]] it would be neccessary to know the orientation of the
*last* wiki. Maybe the "partial fix" would solve 80% of all affected links.

regards reinhardt [[user:gangleri]]

references:
http://www.fileformat.info/info/unicode/char/202a/index.htm
Unicode Character 'LEFT-TO-RIGHT EMBEDDING' (U+202A)
UTF-8 (hex) 0xE2 0x80 0xAA (e280aa)

http://www.fileformat.info/info/unicode/char/202b/index.htm
Unicode Character 'RIGHT-TO-LEFT EMBEDDING' (U+202B)
UTF-8 (hex) 0xE2 0x80 0xAB (e280ab)

http://www.fileformat.info/info/unicode/char/202c/index.htm
Unicode Character 'POP DIRECTIONAL FORMATTING' (U+202C)
UTF-8 (hex) 0xE2 0x80 0xAC (e280ac)
Comment 2 Diederik van Liere 2011-11-30 17:15:12 UTC
Dear Reinhardt, 
A lot of bidi and RTL improvements have been made lately. Could you please
update on the status of this request?

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


Navigation
Links