Page MenuHomePhabricator

[Refactor] Give footnote marks a number without relying on internalList
Closed, DeclinedPublic

Description

The numbers "[1]" and so on come from MWReferenceNode.static.getIndex and were calculated by looking up the internalItem in the internalList. Find a way to reimplement this which is compatible with the encapsulated ref concept.

Event Timeline

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

[mediawiki/extensions/Cite@master] [WIP] Stop writing to internalList

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

awight moved this task from Doing to Sprint Backlog on the WMDE-TechWish-Sprint-2024-01-31 board.

This does seem to be the next key issue to look at to prove the entire "encapsulated refs" concept.

awight removed awight as the assignee of this task.

This didn't work out well. We need to keep the part of internalList that tracks numbering.