Page MenuHomePhabricator

Item in Notes section gets duplicated
Open, Needs TriagePublicBUG REPORT

Description

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

  • In this article I click the edit button
  • Then put cursor in anywhere on the article, and click "Cite" button on top. (PS: you must be using Visual Editor)

What happens?:
Once you click the citation button you can see a duplicate note item pops out in Notes section. When you click publish that duplicate item disappears, but it's still weird. I think it's not supposed to pop up a duplicate item.

What should have happened instead?:

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Now I added another note with same group name outside of the infobox. When I switch to VisualEdit mode, this time the note outside of infobox disappears

I don't see that happening on the original page you mentioned (it has two identical notes in read mode, one of which vanishes when you launch VE because it's defined inside a template, but no further use of Cite causes any duplication), but I see the persistent duplications happening in your simpler example.

Given that the example is:

{{Infobox scientist
| awards = Peace Prize<ref group="n">Note</ref>
}}
Edit this page in VisualEditor and click the Cite button. The note display is duplicated or more.

== Notes ==
<references group="n"></references>

...I'd suspect it's related to the template-defined reference.

Here's a video of it happening: https://youtu.be/-P63pkat4Bo