Page MenuHomePhabricator

BiDirectional editing - provide a tool to resolve also nested BiDi blocks
Closed, InvalidPublic

Description

Author: gangleri

Description:
screen shot: BiDi gadget - resolve nested BiDi blocks - directionality RTL 01

Dear friends;

sorry that I open this issue.

It relates to MediaWiki Gadgets based on Brions and Sparklas work:
http://test.wikipedia.org/wiki/MediaWiki:Gadget-BiDiEditing.js
http://test.wikipedia.org/wiki/MediaWiki:Gadget-BiDiEditing2.js

Some existing bugs are related to this topic; I could only identify
bug #12082 add « id="wpTextbox1" » to the « textarea » at « [[special:Emailuser/Foo]] »
bug #12226 add « id="wpTextbox1" » to the « textarea » at « [[special:Upload]] »

Some weeks ago (the 16nd of September, 2009, 01:48) I was realy confused about the gadget.

I will provide two screen shots of the page.
One displaying the editor box in default directionaly (RTL)
and the second displaying the editor box with directionaly override (LTR)

On emay expect that my username « לערי ריינהארט » would show the Hebrew characters in reversed order.

This is not the case because the text in that page (my signature) starts and ends with directional control characters. These are not resolved by the gadgets mentioned above.

Sparkla has made a few years ago the gadget
http://test.wikipedia.org/wiki/MediaWiki:Gadget-EvilUnicodeConverter.js
which beside other things resolves directionaly characters.

request: please provide a way to realy analyse / debug an existing page content

I kindly ask all Mediawiki contributors to work on an (existing editor) and include functionality to allow proper BiDi editing.

Thanks for all your support in advance. Best regards
Reinhardt Wiewe aka « לערי ריינהארט » « 'lɛʁi 'ʁɑjnhɑʁt »


Version: unspecified
Severity: enhancement
URL: http://yi.wikipedia.org/w/index.php?title=%D7%91%D7%90%D6%B7%D7%A0%D7%99%D7%A6%D7%A2%D7%A8:%D7%9C%D7%A2%D7%A8%D7%99_%D7%A8%D7%99%D7%99%D7%A0%D7%94%D7%90%D7%A8%D7%98/sandbox/puzzeled&action=edit&uselang=en

Attached:

BiDi_gadget_-_resolve_nested_BiDi_blocks_-_directionality_RTL_01.png (1×1 px, 156 KB)

Details

Reference
bz21048

Event Timeline

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

gangleri wrote:

screen shot : BiDi gadget - resolve nested BiDi blocks - directionality override LTR 02

Attached:

BiDi_gadget_-_resolve_nested_BiDi_blocks_-_directionality_override_LTR_02.png (1×1 px, 158 KB)

gangleri wrote:

Please use http://pastebin.com/ to convince yourself.

gangleri wrote:

The world is more then a colection of islands
« تقنيات عربية Bidirectional development »
http://www.facebook.com/group.php?gid=4030495532

gangleri wrote:

screen shot : bug #21048 - BiDirectional editing - provie a tool to resolve also nested BiDi blocks 03.

This screen shot was made by Splarka.

Thanks for his time spend in the IRC chat. The first important issue is to get aware of the problem.

One solution is to

  1. recode the content of a page and resolve the hidden (also the directionality) characters

and

  1. allow users to set directionality to either normal or override and to set the orientation to either LTR or RTL

from the chat:
Splarka: (at this momnet / so far) MediaWiki:Gadget-EvilUnicodeConverter.js has a failsafe to prevent them being saved
Gangleri: there is no hurry at all ... the most important is that you have understood the problem

we remembered a chat some weeks ago about BiDirectionality issues; it can be compared to http://images.google.com/images?q=upside+down+world+map&btnG=Google+Images&site=images&num=24&imgsafe=off

Best regards Reinhardt

Attached:

bug_21048_-_BiDirectional_editing_-_provie_a_tool_to_resolve_also_nested_BiDi_blocks_03.gif (560×1 px, 30 KB)

I don't understand what the problem is. I looked at the screenshot - that's how bidirectional is supposed to be displayed.

I'm closing this as invalid. If i missed something, please let me know and i'll reopen.