Page MenuHomePhabricator

BiDi support for the personal toolbar
Closed, ResolvedPublic

Description

Author: gangleri

Description:
Hallo!

screen dump will follow

  1. MediaWiki allows to sign in with a RTL (or BiDi) user name an LTR wiki's and

viceversa

  1. Users can select a RTL user interface at LTR wiki's and viceversa
  2. with ?uselang=xx / &uselang=xx visitors and users can select a RTL user

interface at LTR wiki's and viceversa

At the moment the personal toolbar is displayed / rendered according to the LTR
/ RTL orientation of the *content* language *regardless* of the LTR / RTL
orientation of the selected user interface.

*request*
The personal toolbar should be rendered according to the LTR / RTL orientation
of the selected user interface (the opposite as now). This will preserve the (a
part of the) navigation known from their "home" wiki.

what should be observed:

  • the user icon should be displayed left at LTR wiki's and right at the RTL wiki's
  • the user name should be embeded in <span dir="foo" > </span> according to LTR

/ RTL orientation of the content language

  • because / as long as many browsers have problems with the general punctuation

characters RLE, LRE, RLO, LRO, PDF these should be avoided

  • before embeding the user name this should be processed by the "BiDi balacing

function" - see
Bug 4232: BiDi: request for a "balacing function" to avoid BiDi

  • the other items from the personal toolbar are "fetched" eiter from the

LanguageXx.php file of the user interface language or from the default messages
(from English); they should be displayed according to the LTR / RTL orientation
of whatever is the case

    • this should also be achieved with an embeding using <span dir="bar" > </span>
  • all items should preserve their position either conting positions LTR or RTL
    • overlapping between objects in an object list should be avoided using a

coding which is supported by the most popular browsers, by as many browsers as
possible - to be investigated

This enhancement should fix a number of known bugs. See Bug blocks

*note*
Keeping the code for the personal toolbar independend of the the way the content
of the page is displayed (at the moment according to LTR / RTL orientation of
the content language) would not impact later decisions / chnages to display some
pages as the special pages according to the LTR / RTL orientation of the
selected user interface of the language specified using ?uselang=xx /
&uselang=xx . Last idea would help to feel confident / familiar with the way
these pages are displayed / rendered.

best regards reinhardt [[user:gangleri]]


Version: unspecified
Severity: enhancement
Platform: PC

Details

Reference
bz4236

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 8:58 PM
bzimport set Reference to bz4236.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Dec 9 2005, 7:07 PM

gangleri wrote:

screen dump for bug 04236

Attached:

brion added a comment.Dec 9 2005, 11:42 PM

Why is this another request? This is just another part of half a dozen other issues.

gangleri wrote:

(In reply to comment #2)

Why is this another request? This is just another part of half a dozen other

issues.

I tray to find a way to start and to split the "todos" in small items.

The personal toolbar is one of the most important parts of the user interface.
It is included on every page. If we can provide a BiDi sollution for it
"acceptable" for most popular browsers we have the knowledge to fix similar BiDi
mess items also.

Some months I made some general requests and the answer was like at bug 2475
comment 2

Please file specific, targetted bugs for any you find that aren't set correctly.

I find your suggestion a better way. Using the dependencies in MediaZilla can
show which part is dependend (not covered) by which bug.

This bug is more or less a summary. Feel free to mark the bugs from the "Bug
depends on list" as dupes. The are no real dupes but their content is covered here.

best regards reinhardt [[user:gangleri]]

gangleri wrote:

REOPENed the bug

There is a strong BiDi group working on FireFox, on the Bugzilla tool etc. at
http://bugzilla.mozilla.org/ .

I opened a bug about an equivalent topic at
https://bugzilla.mozilla.org/show_bug.cgi?id=319331
Bugzilla Bug 319331 mailto link generated with BiDi user name and email address
gets mangled with timestamp

When that issue is solved we should be able to get it solved also in MediaWiki.

pablo wrote:

Fixed in the last patch of bug #6100

*** This bug has been marked as a duplicate of 6100 ***

rotemliss wrote:

*** Bug 8883 has been marked as a duplicate of this bug. ***

I am closing this. A complete solution to Bug 6100 will solve this. Besides, the toolbar is completely different now (FWIW).

Reopening. It has two dependent issues, so closing this without also closing bug 2341 and bug 4232 doesn't really make sense.

Found this looking into https://bugzilla.wikimedia.org/showdependencygraph.cgi?id=745

End goals is to get even more grey in there :).

This bug, especially what the screenshot demonstrates, was essentially resolved by resolving Bug 6100.

Bug 4232 has practically nothing to do with it. If i understand correctly, this bug here mentions it, because it proposes to wrap the username <span dir="foo">, where "foo" is not actually known, and wrapping it in the content language's direction is not too helpful. (dir="auto" would be more useful for usernames, and that's a whole different issue anyway.)

I suggest closing it.

After examination i closed bug 4232 as WONTFIX.