Page MenuHomePhabricator

VisualEditor: Support x-method of entering special characters for Esperanto
Closed, ResolvedPublic

Description

Esperanto commonly uses some special characters. The "x-method" of entering them (cx -> ĉ, gx -> ĝ, hx -> ĥ, jx -> ĵ, sx -> ŝ, ux -> ŭ (and the capital letters)) is already implemented in the Universal Language Selector and other MediaWiki software at https://doc.wikimedia.org/mediawiki-core/master/php/html/LanguageEo_8php_source.html launguages/classes/LanguageEO.php

VisualEditor should support the same method.


Version: unspecified
Severity: enhancement

Details

Reference
bz58662

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:34 AM
bzimport set Reference to bz58662.

What is this method? How does it work? It looks just like a basic post-save transform - if so, that should already work with VisualEditor…

(In reply to comment #1)

What is this method? How does it work? It looks just like a basic post-save
transform - if so, that should already work with VisualEditor…

It's an input method in jquery.ime. https://github.com/wikimedia/jquery.ime/blob/master/rules/eo/eo-x.js

Shouldn't the existing ULS IME stuff just work? Or does every one require custom support in VE?

Now on eo.wiki does not work such post-save transformation, see https://eo.wikipedia.org/w/index.php?title=Uzanto:KuBOT/provejo&diff=5371450&oldid=5333431 (should appear "eĥoŝanĝo ĉiuĵaŭde" both in page and in the edit summary).

If ULS IME stuff just work it would be great - even another transform methods for Esperanto, already included in ULS, would work.

Ok I've confirmed that the ULS IME *doesn't* seem to work in current VE deployment.

(This has replaced, or should replace, the old save-time transform...)

James, is there a general issue with ULS IMEs working/not working in VE? Have we run into this issue for other languages? What can we do to help it work? Do we have to adapt the IME to work in VE particularly? Or is there currently no way for any of the ULS IMEs to work?

This is a duplicate of bug 49569.

  • This bug has been marked as a duplicate of bug 49569 ***