In T415525: [Refactor] Show main content in the ReferencesList of a sub-ref node without relying on a main node we added a new code path for rendering a ve.ce.MWReferencesList, but this now becomes totally independent of the code in ve.dm.MWGroupReferences which is used to number footnote markers. This is a fragile situation, and we would like to patch it up by doing the following:
- Rewrite MWGroupReferences to do numbering with the same algorithm as the reference list, which was introduced into MWDataTransitionHelper.