Page MenuHomePhabricator

Transcluded references (e.g. in infoboxes) should follow the same numbering as the main document
Closed, DuplicatePublic

Description

Detected on https://en.wikipedia.org/wiki/Corning_(city),_New_York?veaction=edit. Also present in, for example, https://en.wikipedia.org/wiki/Botswana.

Even though these are 2 different refs and displayed as 1 (from infobox) and 2 (from text) in the reflist, they both display as [1] when editing in the article.



Event Timeline

Josve05a created this task.Apr 17 2015, 3:45 PM
Josve05a raised the priority of this task from to Needs Triage.
Josve05a updated the task description. (Show Details)
Josve05a added a subscriber: Josve05a.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 17 2015, 3:45 PM
Josve05a updated the task description. (Show Details)Apr 17 2015, 3:46 PM
Josve05a set Security to None.
Neil_P._Quinn_WMF triaged this task as Lowest priority.Apr 17 2015, 5:37 PM

The behavior that @Josve05a is describing occurs when the reference list is generated by the {{reflist}} template. When it's generated by the <references /> tag, the citation in the infobox doesn't appear in the list at all (which is also undesirable).

Aklapper renamed this task from When numbering references VE ignores those in infoboxes to When numbering references VE ignores those in infoboxes (when reference list is generated by {{reflist}} template).Apr 17 2015, 6:17 PM

I think this bug should focus on the fact that references in the main text flow and references inside transcluded content (e.g. infoboxes) should follow the same global numbering. Right now anything outside a transclusion has its own numbering (using CSS) and anything inside a transclusion follows the original uniform count (from Parsoid's render html).

The presence in the references list is a separate issue (probably has its own task already).

Krinkle renamed this task from When numbering references VE ignores those in infoboxes (when reference list is generated by {{reflist}} template) to Transcluded references (e.g. in infoboxes) should follow the same numbering as the main document.Apr 17 2015, 6:23 PM