Page MenuHomePhabricator

VisualEditor: Typing in Devanagari puts vowels in unexpected places
Closed, ResolvedPublic


Typing in the Devanagari script causes very unusual placement of vowels in relation to consonants. The correct place to put the vowels is always after the preceding consonant, but the VisualEditor causes very strange placement.

To try, I used the standard Hindi InScript keyboard (not ULS IME, but the operating system's InScript keyboard). I tried to type the word "अंग्रेज़ी" (the Hindi name of the English language).

To get that word with the InScript keyboard, type the following keys on the English-US keyboard:


The expected result is "अंग्रेज़ी".

The actual result on Firefox 22 is "अंग्ेच़ीर".

The actual result on Chrome 28 is "्रेची".

I tried this with Firefox 22 on Fedora 18.

I mark this as blocker, because in this state the VisualEditor must not be widely deployed on a Wikipedia that uses the Devanagari script, such as Hindi (hi), Marathi (mr), Nepali (ne) or Sanskrit (sa) (there are a few more languages that use it). It's OK to have it as opt-in for testing on these wikis, though.

Version: unspecified
Severity: blocker



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:05 AM
bzimport set Reference to bz51477.

Hi, thanks for the detailed error description with the en-US key equivalents -- it really helps!

I *think* this is resolved by the following patch: . At least, the patch seems to fix the "hindi inscript (m17n)" ibus method on Linux.

Change 80080 had a related patch set uploaded by Jforrester:
WIP:Don't emit Surface changes back to the Surface

Change 80080 merged by jenkins-bot:
Don't emit Surface changes back to the Surface

Given that this is now merged, I'm going to mark this as fixed. However, this is provisional - please re-open if you think that this has not worked!

master looks good to me. Thanks!