Page MenuHomePhabricator

Add a way to correct Romanian diacritics in VE before the page is saved
Open, NormalPublic

Description

The Romanian Wikipedia has a script working for the classic editor, that transforms cedilla-below letters (ş, ţ) in comma-below (ș, ț) when the page is saved. [1]

We need a similar script working for visual editor. My initial idea was to add a hook in the VE before the page is saved (see T59536), but this was declined by the VE team, so we'll need an alternative solution.

The solution needs to take into account the fact that there are legitimate reasons why a user will want to include text using the old diacritics, especially regarding s-cedilla.

I'm willing to work on this issue myself if a solution that is acceptable for all involved parties is found.

[1] https://ro.wikipedia.org/wiki/MediaWiki:Diacritice.js

Event Timeline

Strainu created this task.Jul 16 2015, 4:22 PM
Strainu raised the priority of this task from to Needs Triage.
Strainu updated the task description. (Show Details)
Strainu added projects: I18n, VisualEditor.
Strainu added a subscriber: Strainu.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 16 2015, 4:22 PM
Strainu set Security to None.Jul 17 2015, 11:28 AM
Strainu added a subscriber: Andrei_Stroe.

I recommend that you look at whether ULS's "jquery IME" tool can help here.

Jdforrester-WMF triaged this task as Normal priority.Jul 21 2015, 8:29 PM
Jdforrester-WMF moved this task from To Triage to Freezer on the VisualEditor board.
Elitre added a subscriber: Elitre.Nov 13 2017, 3:32 PM