Page MenuHomePhabricator

<references /> block should only show refs above it, not all refs on the page
Closed, InvalidPublic

Description

Action taken:

Copy this text from the German Wikipedia, and paste it into VisualEditor, towards the top of the page:

England gelang zwar sechs Minuten später durch einen von [[Allan Clarke (Fußballspieler)|Allan Clarke]] verwandelten Elfmeter der Ausgleich, mehr ließen die Polen, insbesondere ihr Torhüter [[Jan Tomaszewski]] - der kurz zuvor von [[Brian Clough]] als Clown tituliert wurde - nicht zu.<ref>[http://eu-football.info/_match.php?id=12071 eu-football.info: „Football MATCH: 17. Oktober 1973 England v Poland“]</ref> „It's all over“ wurde dies vom Kommentator des Spiels kommentiert.<ref>[https://www.youtube.com/watch?v=Vi9vZCo215w England 1-1 Poland (1973) WCQ ]</ref>

Expected result: The two sentences and their refs appear on the page.

Actual result: The two sentences and their refs and a new ref block appear on the page. See T127664: Copying and pasting wikitext with refs results in the addition of a <references /> block for this part.

Weird result: Sometimes this ref block contains all the refs on the page, rather than just the two refs above the block that it ought to contain.

Screen Shot 2016-02-21 at 12.55.18 PM.png (672×1 px, 227 KB)

<references /> is only supposed to display the refs above it on the page. In this instance, there were two (new) refs above it, and three (#3, #4, #5) below it. But sometimes, this block displayed all five.

Event Timeline

Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript

Minded to Decline. I see no value in fixing VE to undertake this behaviour, as opposed to fixing Cite to show all of them.

Jdforrester-WMF added a project: Cite.
Jdforrester-WMF moved this task from To Triage to Freezer on the VisualEditor board.

This behavior is a wanted behavior from the Cite extension, as it makes it possible to add reference sections to threads on discussion pages. As long as we have wikitext-style discussion pages this will be a wanted feature. Please don't remove it just because VE don't support it.

I don't see a valid use case here.

If people are foolishly copying bits of an article to a talk page, they should be good enough as an editor to remember how to use <references />.

:D

thiemowmde subscribed.

I can't reproduce this any more. No new references block is inserted.