Page MenuHomePhabricator

VisualEditor: Provide a language inspector to handle inline <span lang='xx' dir='yyy'>s
Closed, ResolvedPublic

Description

In [[en:User:Yamaha5/sandbox]] I tested it for Farsi every thing was OK except <div dir="rtl"><div> which cause the test disable. in fa.wiki because of mixture of farsi and english or LTR Math formulas we use direction inside the text so it will cause problem for RTL languages


Version: unspecified
Severity: enhancement

Details

Reference
bz47759

Related Objects

StatusAssignedTask
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
InvalidJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedCatrope
OpenNone
OpenNone
OpenNone
OpenNone
StalledNone
Resolvedmarcoil
DeclinedNone
ResolvedNone
DeclinedKrinkle
OpenNone
ResolvedNone
ResolvedMooeypoo
Resolved rmoen
Resolved rmoen
Resolved rmoen
ResolvedMooeypoo
ResolvedMooeypoo
ResolvedMooeypoo
Resolvedcscott
Resolvederanroz
ResolvedEsanders
ResolvedNone
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedMooeypoo
ResolvedMooeypoo
ResolvedLtrlg
ResolvedMooeypoo
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedJdforrester-WMF
ResolvedMooeypoo
ResolvedMooeypoo
ResolvedMooeypoo
ResolvedInez
ResolvedMooeypoo
ResolvedJdforrester-WMF
ResolvedMooeypoo
ResolvedMooeypoo
ResolvedMooeypoo
ResolvedJdforrester-WMF
ResolvedMooeypoo
ResolvedMooeypoo
Resolved rmoen
ResolvedMooeypoo
Resolved rmoen
Resolved rmoen
ResolvedAmire80
ResolvedEsanders
ResolvedMooeypoo
ResolvedMooeypoo
ResolvedMooeypoo
ResolvedJdforrester-WMF
ResolvedMooeypoo
ResolvedAmire80
ResolvedAmire80
ResolvedCatrope
ResolvedAmire80
Resolved TrevorParscal
ResolvedEsanders
ResolvedEsanders
ResolvedMooeypoo
OpenNone
Resolvedmatmarex
ResolvedMooeypoo

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:15 AM
bzimport set Reference to bz47759.
Yamaha5 created this task.Apr 26 2013, 11:55 PM

Clarification: the bug report is about text within <div dir="rtl"></div> being alienated. I'm not sure how we can intelligently not alienate text with such a direction override.

This would be a task for a language inspector, presumably? Marking as an enhancement - this might be something for Moriel if she is going to be working with us on language support.

Work on this has began, we will be using <span lang='xx' dir='yyy'> tags to start with and add functionality for broader usages in the future.

I think this is a dupe of Bug 47759

Oy, I mean Bug 41009. Both speak of the same features that the Language Inspector will attempt to solve.

(In reply to comment #5)

Oy, I mean Bug 41009. Both speak of the same features that the Language
Inspector will attempt to solve.

Given that this is more advanced in discussion, I'll up-merge that into this.

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

Change 70560 had a related patch set uploaded by Mooeypoo:
Language Inspector: CE / DM

https://gerrit.wikimedia.org/r/70560

Change 70560 merged by jenkins-bot:
Language Inspector: CE / DM

https://gerrit.wikimedia.org/r/70560

Change 72634 had a related patch set uploaded by Mooeypoo:
Language Inspector UI

https://gerrit.wikimedia.org/r/72634

Change 72634 merged by jenkins-bot:
Language Inspector UI

https://gerrit.wikimedia.org/r/72634

The main work is merged. Some designs tweaks are still needed, but now language for <span>s can be set.

Splitting the block level items into bug 60187.

Change 95051 had a related patch set uploaded by Jforrester:
MediaWiki language inspector updates

https://gerrit.wikimedia.org/r/95051

Change 95051 merged by jenkins-bot:
MediaWiki language inspector updates

https://gerrit.wikimedia.org/r/95051