Page MenuHomePhabricator

VisualEditor:References resulting from repeated citation cannot be edited in the VE mode after changing the ref name from :0
Closed, ResolvedPublic

Description

Steps to reproduce:

1.Click on the Edit mode
2.Add a reference
3.Add the same reference 5 times in that page
4.Save the page
5.Go to Edit Source

Observed Result:
I think, due to repeated citation of the same reference with no defined name ,a name with value (:0) is added to the <ref> tags for all the references that is using the same reference

But, if user intends to change the name of the original reference to a more meaningful name for future reference purpose he might do the following steps

  1. Change the name value from ":0" to "bbc" for the first references

7.Close the editor
8.Click on Edit now.
9.Hover over other references which were using same references

Observed Result:
A message shows up this reference cannot be edited in the VE ,can only be edited in edit source mode.

Can this message be more precise to point where the problem is?For example in the read mode it says "Invalid <ref> tag; no text was provided for refs named :0"


Version: unspecified
Severity: normal

Details

Reference
bz57364

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:31 AM
bzimport set Reference to bz57364.

Created attachment 13861
Screenshot of the error

Attached:

Screen_Shot_2013-11-21_at_10.44.23_AM.png (510×946 px, 91 KB)

Not VE-specific, but a larger issue with how Cite.php "works" (hint: it doesn't).

  • This bug has been marked as a duplicate of bug 18103 ***