Page MenuHomePhabricator

[Refactor] Render reference list without relying on `mainRefKey` in dm/ce.MWReferencesListNode
Open, Needs TriagePublic

Description

Context

Currently the reference lists use getTopLevelKeysInReflistOrder in MWGroupReferences. MWGroupReferences builds an index for refs and subrefs using mainRefKey. That needs to change. We need to do something similar but with the mainListIndex only.

Similar to T415524: [Refactor] Render search results withouth relying on `mainRefKey` in MWReferenceSearchWidget

Task
  • Figure out how that list could be rendered with the mainListIndex
  • Think about if we want to have a fallback for a period of time
  • Use the new method or the method with fallback to render the list

Event Timeline

WMDE-Fisch renamed this task from [Refactor] Rewrite any MWReferenceNode dependencies related to the ve.ce.MWReferencesListNode to [Refactor] Render reference list withouth relying on `mainRefKey` in dm/ce.MWReferencesListNode.Feb 3 2026, 3:52 PM
WMDE-Fisch updated the task description. (Show Details)
lilients_WMDE renamed this task from [Refactor] Render reference list withouth relying on `mainRefKey` in dm/ce.MWReferencesListNode to [Refactor] Render reference list without relying on `mainRefKey` in dm/ce.MWReferencesListNode.Wed, Mar 4, 1:01 PM
lilients_WMDE changed the task status from Stalled to Open.

Change #1248837 had a related patch set uploaded (by Awight; author: Awight):

[mediawiki/extensions/Cite@master] [WIP] Reference list renders without assuming ref node

https://gerrit.wikimedia.org/r/1248837