Page MenuHomePhabricator

Tech debt: review uses of references list item id during Parsoid html2wt
Open, Needs TriagePublic

Description

DOMCompat::getElementById for the ref dataMw.body.id is done several times during DOM to wikitext conversion, and maybe not all are safe or correct. Do we want to move towards always rendering the references list and include the id for each footnote? For what purpose is the element retrieved: to test for existence of a ref name / render as HTML / convert to wikitext? Do we want to remove usages if possible?