Page MenuHomePhabricator

Visual Editor sometimes adds "2" to reference names, creating reference errors
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
In some circumstances, Visual Editor appears to add "2" to existing reference names without ensuring that the full named reference is either renamed throughout the article or that the new reference name exists.

What should have happened instead?:

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):
This may be related to the closed tasks T134228 and T125034.

Event Timeline

Hi @Jonesey95 , I am still finding it difficult to replicate the bug . Also it would be great to add response on the What should have happened instead?: part of the bug format, also I can hardly tell how the links above helps replicate it as I am unable to find the issue, please any add on guide would be very help full towards fixing the bug.

Here is a single edit that used this defect to cause seven undefined reference errors in one single edit:

https://en.wikipedia.org/w/index.php?title=Attention_%28machine_learning%29&diff=1251922071&oldid=1250236556