Page MenuHomePhabricator

[Refactor] Render search results withouth relying on `mainRefKey` in MWReferenceSearchWidget
Open, Needs TriagePublic

Description

Context

Currently the search results will be rendered using the getAllRefsInReflistOrder 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.

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 MWReferenceSearchWidget to [Refactor] Render search results list using the the mainListIndex in MWReferenceSearchWidget.Feb 2 2026, 11:08 AM
WMDE-Fisch updated the task description. (Show Details)
WMDE-Fisch renamed this task from [Refactor] Render search results list using the the mainListIndex in MWReferenceSearchWidget to [Refactor] Render search results withouth relying on `mainRefKey` in MWReferenceSearchWidget.Feb 2 2026, 11:34 AM
WMDE-Fisch updated the task description. (Show Details)

Change #1236764 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):

[mediawiki/extensions/Cite@master] [WIP] Add listIndex support for getAllRefsInReflistOrderByIndex

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

Change #1236764 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):

[mediawiki/extensions/Cite@master] [WIP] Add listIndex support for getAllRefsInReflistOrderByIndex

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

awight changed the task status from Stalled to Open.Wed, Feb 18, 9:12 AM
awight subscribed.

Seems ready to work on now?