Page MenuHomePhabricator

reduce the BiDi readability problem at « action=credits » if the window size is changed
Closed, ResolvedPublic

Description

Author: gangleri

Description:
Dear friends,

the problem is described at
http://landfill.bugzilla.org/gangleri/show_bug.cgi?id=3304#c0 and
http://landfill.bugzilla.org/gangleri/show_bug.cgi?id=3304#c1

the relevant attachments at that bugzilla test installation are broken so I will post the minimal testcases here.

A solution to reduce the BiDi readability which splits items (in this case the contributor names which contains spaces) is to embed each user name in « <span style="white-space: nowrap;" > » blocks.

This would be easy to implement and is more elegant as listing the contributors line by line as proposed in
http://landfill.bugzilla.org/gangleri/show_bug.cgi?id=3304#c0

best regards Reinhardt [[user:gangleri]]

A more general enhancement request was posted at
https://bugzilla.mozilla.org/show_bug.cgi?id=402155
B u g: 402155 – The graphical output generator should support a BiDi-output paramer in order to facilitate BiDi reading


Version: unspecified
Severity: enhancement
URL: http://nike.users.idler.fi/dev/?title=Main_Page&action=credits

Details

Reference
bz12205

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 9:54 PM
bzimport set Reference to bz12205.
bzimport added a subscriber: Unknown Object (MLST).

gangleri wrote:

bug_landfill_bugzilla_003304_·_BiDi_readability_problem_·_01_02.html

if you open this attachment and resize the window some contributor names get split over multiple lines

Attached:

gangleri wrote:

bug_landfill_bugzilla_003304_·_BiDi_readability_problem_·_02_02.html

if you open this atachment and resize the window each contributor name will be in one line only

Attached:

gangleri wrote:

(In reply to comment #0)

A more general enhancement request was posted at
https://bugzilla.mozilla.org/show_bug.cgi?id=402155
B u g: 402155 – The graphical output generator should support a BiDi-output
paramer in order to facilitate BiDi reading

see in addition also
https://bugzilla.mozilla.org/show_bug.cgi?id=406406
B u g 406406 – remedy against BiDi interference caused by the (arbitrary) content of various fields

Created attachment 8773
Screenshot of the user link that is split

I attached a screenshot so you can see what the problem was. RTL user links were split and displayed incorrectly when wrapped to the next line.

Attached:

bug_12205_(before).png (577×1 px, 66 KB)

I think this may be problematic as it will prevent legitimate wrapping of long names.

Alternate suggestion on CR -- http://www.mediawiki.org/wiki/Special:Code/MediaWiki/91966#c19485

Used unicode-bidi: embed; in r92011.