Page MenuHomePhabricator

VisualEditor: New references added after existing re-used references (<ref name=":0" />) replacing rather than proceeding them
Closed, DeclinedPublic

Description

De.WP's ref templates interact unhelpfully with VE/Parsoid, resulting in unwanted insertion of "<ref name=":0">"; examples:

https://de.wikipedia.org/w/index.php?title=Titl%C3%A1&diff=prev&oldid=122939538

template: https://de.wikipedia.org/wiki/Vorlage:Internetquelle

https://de.wikipedia.org/w/index.php?title=Die_letzte_Vorstellung&diff=prev&oldid=123020177

template: https://de.wikipedia.org/wiki/Vorlage:Der_Spiegel

It also results in having the display of the ref being moved into another ref. This is different from the other issue debated in 53777


Version: unspecified
Severity: major

Details

Reference
bz54944

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:38 AM
bzimport set Reference to bz54944.

I'm not sure I understand what the issue is here? Re-used references are getting a name automatically added (":0") so that they can be re-used…

Or are they not edits that are intentionally re-using a reference?

(In reply to comment #1)

I'm not sure I understand what the issue is here? Re-used references are
getting a name automatically added (":0") so that they can be re-used…

Or are they not edits that are intentionally re-using a reference?

First case: The "Südtiroler Wochenmagazin" ref eats the newly inserted ref "ServusTV", causing a fix:

https://de.wikipedia.org/w/index.php?title=Titl%C3%A1&diff=123114172&oldid=122939538

Second case: The Der Spiegel ref in the second diff doesn't appear in the ref section at the end of the article but gets eaten up by the Die Zeit ref; causing this edit:

https://de.wikipedia.org/w/index.php?title=Die_letzte_Vorstellung&diff=next&oldid=123020177

Can you provide steps to reproduce?

Closing unless and until this is shown to still be a problem.