What is the problem?
When using the "Insert link" dialog, if I don't enter a title and press the Enter key, I get an alert saying:
⧼wikieditor-toolbar-tool-link-empty⧽
This is the key of the message, rather than the message itself.
The message itself will depend on the user's interface language. If the user's interface language is English, the alert should say:
You did not enter anything to link to.
Steps to reproduce problem
- Go to any page on a wiki (e.g. https://en.wikipedia.beta.wmflabs.org/wiki/Special:Random)
- Open the WikiEditor
- Click the "Insert link" menu item (tooltip: "Link")
- Press the Enter key
Expected behavior: The alert says: You did not enter anything to link to (if you are testing in English, otherwise translated into your interface language)
Observed behavior: The alert says: ⧼wikieditor-toolbar-tool-link-empty⧽
Environment
Browser: Firefox and Chrome (did not test IE, Edge or Safari)
Wiki(s): https://test.wikipedia.org MediaWiki 1.38.0-wmf.16 (rMWdc3e3a80f955) 12:29, 4 January 2022, WikiEditor 0.5.3 (2e5791c) 08:31, 27 December 2021.
Editor, if applicable: WikiEditor