The feature added in T56906 task doesn't work if there is group parameter in a ref tag.
For example,
There is a document named "Foo"<ref group="refs">sources</ref>
There is another document named "Voo"<ref group="notes">explanation</ref>
this would show error message as follows:
<ref> tags exist for a group named "refs", but no corresponding <references group="refs"/> tag was found, or a closing </ref> is missing
<ref> tags exist for a group named "notes", but no corresponding <references group="notes"/> tag was found, or a closing </ref> is missing
because there is no references tag with group parameter
I think it is needed that cite extension automatically generate the paragraph name as group name first, and enumerate the references.
so it would be like this:
refs
¹ sources
notes
¹ explanation