Page MenuHomePhabricator

VisualEditor: Ref name ":0" appears in the dialog box of adding existing reference which has repeated citations
Closed, ResolvedPublic

Description

Screenshot

Steps to reproduce:

1.Click on Edit for a page
2.Add a reference
3.Use same reference multiple times in the page
4.Now again while adding reference click on "Use an Existing reference"

Observed Result:
On this dialog box beside the reference [1] the ref name ":0" appears.

See the screenshot attached


Version: unspecified
Severity: normal

Attached:

Screen_Shot_2013-12-02_at_11.42.22_AM.png (513×1 px, 60 KB)

Details

Reference
bz57875

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:39 AM
bzimport set Reference to bz57875.

Test Environment: production
Browser: Chrome Version 26.0.1410.65 & FF 25
OS: MAC OS X 10. 8. 5
Example Page:https://en.wikipedia.org/w/index.php?title=User:RYasmeen_(WMF)/addimage&veaction=edit

I noticed this while fixing the reference content bug. We used to detect the auto numbering pattern, but not any more. I think we should hide these.

Change 111626 had a related patch set uploaded by Esanders:
Hide automatic reference names

https://gerrit.wikimedia.org/r/111626

Change 111626 merged by jenkins-bot:
Hide automatic reference names

https://gerrit.wikimedia.org/r/111626

This bug seems to be back. I'm experiencing it on Chrome, and thought they were invalid references until Google-ing

<ref name=":0" />

brought me here