Thank you for your answers
@Ancheta Wis I want to keep the seconday numbering you mention when a reference name is used multiple times, but the first numbering seems useless as a given name cannot be used for different references but only to refer to the same reference multiple times. So to be more precise, let us imagine we have the successive ref tags:
<ref>...</ref> => gives
id ="cite-ref-1"; href="#cite-note-1" . Ok for me
<ref name="foo">...</ref> => gives
id="cite-ref-foo_2-0"; href="#cite-note-foo-2" (I would like to have
id="cite-ref-foo-0"; href="#cite-note-foo" instead)
<ref name="foo" /> => gives
id="cite-ref-foo_2-1"; href="#cite-note-foo-2" (I would like to have
id="cite-ref-foo-1"; href="#cite-note-foo" instead)
@Thiemo Kreuz (WMDE) My notes will be used to store additional information which are not just references so I want readers and contributors to be able to share a link to a specific note to share its valuable content.
I want this "permalink" to be created automatically for each named reference. I also want an anchor in the text (where the reference/note will be cited) so I need the second numberig mentionned above. (which is not so doable with templates) The Cite extension already does a lot of the work, so the solution consisting in creating an anchor is not ideal for me.
In fact, I do not understand why the numbering is kept in named references as you cannot use the same name for a different reference so it will necessary be uniue. A secondary numbering is used in the case of multiplle uses of a given reference as mentioned above and it seems sufficient.