Given a page like this:
asdf<ref name=a /> <references><ref name=a>asdf</ref></references>
The context menu incorrectly describes the reference as "used twice on this page":
(if the reference is actually used twice, it will say "3 times", etc. – the number is one larger than reality)
This is especially confusing when you are in VE and want to remove only one of the supposedly two used references. If the second reference is in a ref list both will be deleted. If there are actually two references (outside of a reflist) only one gets deleted (which is correct).
- Do not count usages of references in a ref list.
- Make sure to not break the correct numbering if the references are outside of a ref list. When the original ref is not in the <references> tag, the number must not be decremented by 1.