Page MenuHomePhabricator

BiDi: orientation and numbering inside a TOC should be left aligned if placed in a LTR block and RTL if not
Closed, ResolvedPublic

Description

Author: gangleri

Description:
Dear friends,

At http://yi.wiktionary.org/w/index.php?title=project:Administrators&oldid=6157
the TOC is used in a RTL wiki *but* in a LTR environment.

The item list shows as:

1 actual user rights

2 requests for additional user rights

3 links

It should be

1 actual user rights
2 requests for additional user rights
3 links

regards reinhardt [[user:gangleri]]


*reminder*

If you compare the "header" of the TOC at the reference url you will see
opticaly
אינהאַלט [באַהאַלטן
with an additional "]" at the right

it should display opticaly *always* as
אינהאַלט [באַהאַלטן]

ט at http://yi.wiktionary.org/w/index.php?title=project:Administrators&oldid=6165


Version: unspecified
Severity: enhancement
URL: http://yi.wiktionary.org/w/index.php?title=project:Administrators&oldid=6157

Details

Reference
bz4050

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 8:58 PM
bzimport set Reference to bz4050.

Could this be a browser bug?
Can't understand why <div direction=rtl> doesn't take precedence.

This is a yet another issue that happens when LTR UI is used in an RTL wiki. Resolving Bug 6100 is the way to go.

I am reopening this bug as bug 6100 has been resolved and this still seems to be an issue.

The right thing to do is to use class="mw-content-ltr" instead of dir="rtl". It's not very obvious, but since 1.18 it's not a bug either.