Page MenuHomePhabricator

Reference list is shown on top of page after editing infobox with references inside
Closed, DuplicatePublic

Description

References shown on top of page after editing infobox with references inside

Steps to reproduce:

  1. Open https://cs.wikipedia.org/w/index.php?title=Kostel_Narozen%C3%AD_svat%C3%A9ho_Jana_K%C5%99titele_%28Kamenick%C3%BD_%C5%A0enov%29 for editing
  1. Do an edit in the infobox on the right side
  1. Close the infobox edit window
  1. References from inside the infobox are shown on top of the page.

Event Timeline

Raymond created this task.Apr 12 2015, 11:28 AM
Raymond raised the priority of this task from to Needs Triage.
Raymond updated the task description. (Show Details)
Raymond added a subscriber: Raymond.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 12 2015, 11:28 AM
Jdforrester-WMF set Security to None.
Jdforrester-WMF added a subscriber: Jdforrester-WMF.

This is caused because Parsoid emits a references list for anything they parse which has a reference, even if it's going to end up in a wider document (as in this case) and we're just parsing a fragment. Instead, it'd be nice if Parsoid had a mode to suppress this behaviour.

(Also I think this is a dupe of another task, but I can't find it right now.)

Jdforrester-WMF changed the task status from Open to Stalled.Aug 25 2015, 7:31 PM
matmarex reopened this task as Open.Jan 24 2016, 2:18 AM
matmarex added a subscriber: matmarex.

The task this was marked as a duplicate of was declined, but this is a real bug still.

Possibly the same thing as T52474 (or at least the same root cause of not supporting templated references well), but seems somewhat different to me.

Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptJan 24 2016, 2:18 AM

Oh wait, there's a task for this already.