veAutocorrect – autocorrect script for VisualEditor. It can automate replacing any sequence of characters into a special character (examples below).

In short edit

Open your common.js and add:

importScript('User:Nux/veAutocorrect.js');

Predefined sequences edit

sequence replacement
--
---
...
<< «
>> »
->
1/2 ½ (requires space after "2")
1/4 ¼ (requires space after "4")
3/4 ¾ (requires space after "4")
+- ±

Note. There was also a quotes sequence that is added based on content language of the Wikipedia being used. But it is disabled as per MOS:PUNCT.

See also edit