Page MenuHomePhabricator

WikiEditor: Allow tooltips for characters
Closed, ResolvedPublic

Description

It would be nice if characters could show a tooltip like the buttons. Now you can't see a real difference between – and −, so a tooltip telling you that the first one is an en-dash and the second a minus would be helpful.

Actually it's possible to add a tooltip via

'characters': [ ["<span style='padding:0px; margin:0px; border:0px;' title='tooltip'>character</span>", "character"] ]

but this is really messy.


Version: unspecified
Severity: enhancement

Details

Reference
bz26571

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:12 PM
bzimport added a project: WikiEditor.
bzimport set Reference to bz26571.
bzimport added a subscriber: Unknown Object (MLST).
TheDJ lowered the priority of this task from Medium to Low.Mar 15 2015, 10:37 PM
TheDJ set Security to None.
TheDJ removed a subscriber: Unknown Object (MLST).

This is actually possible:
https://github.com/wikimedia/mediawiki/blob/master/resources/src/mediawiki.language/specialcharacters.json#L76

The problem is more that it would significantly explode the translations and the characters code, to do so for each and every character.

TheDJ closed this task as Resolved.EditedNov 27 2018, 10:47 PM
TheDJ claimed this task.

ndash, mdash and minus actually do have labels in WikiEditor and VE, as can be seen in the following screenshots.

Screenshot 2018-11-27 at 23.46.33.png (186×316 px, 22 KB)

Screenshot 2018-11-27 at 23.47.07.png (218×288 px, 21 KB)