Nikki added a comment.
I noticed that the dropdown is the same one used for monolingual text
languages and - indeed - the one for monolingual text has the same problem with
the language code not being detected on middle click paste. Although,
thankfully, it's much less destructive there,
Nikki added a comment.
It can also cause existing glosses to be deleted if you try to change the
language:
- Edit a sense with two or more glosses
- Delete the text in one of the existing language name fields
- Middle click paste a language code into the field instead
- Click save
Nikki renamed this task from "New gloss silently discarded if language code
entered using middle click paste" to "Middle click paste of a gloss language
code is not correctly detected (causing the gloss to be discarded/deleted)".
TASK DETAIL
https://phabricator.wikimedia.org/T269070
EMAIL