https://bugzilla.wikimedia.org/show_bug.cgi?id=54341

--- Comment #1 from Roan Kattouw <roan.katt...@gmail.com> ---
Isolated test case: https://en.wikipedia.org/wiki/User:Ed_g2s/Sandbox4

Diagnosis:

The automatically generated names are based on the number of distinct
references in the page up to that point, indexed at zero. The first unnamed
<ref> tag is the 4th distinct reference on the page (it's preceded by two :1s,
a :3 and a :0), so its autogenerated name is :3. However, there so happens to
already be a literal <ref name=":3"> on the page, so we get a naming collision
and the whole thing goes to hell.

In practice, this situation can only arise after multiple iterations of
duplicating unnamed references with VE (which adds <ref name=":n"> tags to the
source), then removing or reordering references so the ref tags are aligned
exactly right for this bug to occur.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to