Editing a citation inserted in VisualEditor results in some odd link behaviour within the popup "preview" window. Here's a workflow for recreation, since that seems the easiest way to explain what's going on here:
* I add a citation using the "Cite" button on VisualEditor, and save the generated output.
* I go back in and edit the citation, adding a wikilink (e.g. in the "website" or a "publication" parameters).
* The link to the work/publication in the popup preview now links somewhere it shouldn't.
Here's a screenshot from editing the page https://en.wikipedia.org/wiki/User:JSutherland_(WMF)/sandbox :
For the link to "Reuters" the //expected behaviour// is a link to https://en.wikipedia.org/wiki/Reuters. Instead, the //actual behaviour// is that it links to https://en.wikipedia.org/wiki/User:JSutherland_(WMF)/Reuters for some reason.
In the main namespace it's even weirder, as in this example from editing https://en.wikipedia.org/wiki/KRFF-LP :
The wikilink to "Radio Free Fargo 95.9" (that is, the darker blue one in italics, not the lighter one in quotes) should direct me to https://en.wikipedia.org/wiki/Radio_Free_Fargo_95.9 but actually directs me to https://en.wikipedia.org/w/Radio_Free_Fargo_95.9 (note the "w", rather than "wiki") - a page which displays a 404 error.
(NB: I'm not sure if this is actually Citoid or VisualEditor. Please do feel free to mercilessly alter the tags.