Parsoid will turn this wikitext into two ref nodes, one will be a list-defined main ref and the other will be a subref at the site of usage:
<ref details="abc">def</ref>
This task is done once we implement the basic structure, and no more. The following is out of scope:
- Footnote numbering
- Reference list rendering
- Wikitext rendering
- Internal annotations