Context
Currently there are two ways to "nest" references in an article.
#1.: {{#tag:ref|outside ref #1 <ref>inside ref #1</ref>}}
#2.: <ref>outside ref #2 {{#tag:ref|inside ref #2}}</ref>While the former is well supported in both parsers. The latter is not so much. In any of them.
Legacy:
Parsoid:
Task
- Can and do we want to support both ways equally? Are there reasons not to?
- Would it be sufficient to add better support for latter case only to Parsoid?
Notes
T124213: Nested references rendered in wrong order in reflist while ungrouped could be related

