Thread:VisualEditor/Feedback/Italicise a wikilink using double-click: clumsy code generated

If I double-click a wikilink to select it and then press the italic button, the code generated is  instead of the more idiomatic   (see this diff). This use of double-click and the GUI button is pretty instinctive: I think the editor needs to support the expected behaviour.