Page MenuHomePhabricator

< references /> duplicates itself if text after block
Closed, ResolvedPublic

Description

Will email James to verify, assuming this is a Parsoid bug but please feel free to move if not.

It appears that if there is text after a <references /> block (such as <references />stuff the entire thing will duplicate to <references />stuff <references />stuff

This appears to keep escalating. You can see one strong example on [[Chai_with_Lakshmi]] first at http://en.wikipedia.org/w/index.php?title=Chai_with_Lakshmi&diff=prev&oldid=561632390 and then getting worse later on (he stopped using VE for a while) http://en.wikipedia.org/w/index.php?title=Chai_with_Lakshmi&diff=next&oldid=561635039 and for the next 3 edits you can page through.

You can also see an example on my test page http://en.wikipedia.org/w/index.php?title=User:Jalexander/VE&diff=next&oldid=561642103


Version: unspecified
Severity: normal

Details

Reference
bz50218

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:06 AM
bzimport added a project: Parsoid.
bzimport set Reference to bz50218.

Minimal test case:

References

<references />stuff

Interestingly the heading is needed, a preceding paragraph won't trigger it. The DOM diff looks clean at first sight, so this does indeed seem to be a Parsoid bug.

Related URL: https://gerrit.wikimedia.org/r/70658 (Gerrit Change I073b2e68667d577c75cad07d19cea2b19d0e89fe)

https://gerrit.wikimedia.org/r/70658 (Gerrit Change I073b2e68667d577c75cad07d19cea2b19d0e89fe) | change APPROVED and MERGED [by jenkins-bot]

Please reopen if this shows up again.