A request has been made at de.wp that the special characters panel "remembers", and shows prominently, the last chars an editor has added to articles. I think this had been requested in the past as well, possibly on the mediawiki.org related thread.
Description
Description
Related Objects
Related Objects
- Duplicates Merged Here
- T278915: Make the special character toolbar's "Often used" section dynamic
Event Timeline
Comment Actions
I'd suggest "recently used" instead of "often used", as that's probably more common elsewhere, and you don't have to keep track how often which character is used. So the code would be something like this:
- When the users clicks on a special character, push its definition to an array, truncate that array to a maximal length.
- Store that array (via ve.userConfig).
- When building the special character dialog, just include those recently used characters as well (just like you already do for the ones defined in MediaWiki:Visualeditor-quick-access-characters.json)