**Goal: understand why VE is not able to recognize and process references using both ref tags and templates within the same system.
Output: an explanation of the problem and feasibility assessment of solving it.**
==Problem statements==
I am an editor using visual editor
I'm trying to identify and work with existing references in an article.
But the numbers in the body of the article don't match the numbers in the <references> section at the bottom of the article.
Because VE apparently gets confused when some <ref> are not in the article but in a template.
I am an editor using visual editor.
I'm trying to copy and paste an existing citation to reuse it for the first time in the article.
But the reference instance is given an automatic number by VE that already exists on the article page, and VE doesn't warn me before saving.
Because a reference named ":0" already exists (maybe inside of a template transclusion?) and a new name like ":0" is assigned which already exists on the page. Also VE doesn't preview the error message, even if there is one after the page is saved.
See also:
* T52474
* T215867