Last modified: 2014-07-24 02:11:23 UTC
Bug best illustrated by an example: http://en.wikipedia.org/w/index.php?title=Gecko_(layout_engine)&oldid=539430071 has the usual superscript references that are consistently numbered between the inline references and the reference list at the end of the article, but the numbering becomes inconsistent with the 8 notes added to the table. After that, inline reference [N] corresponds to the reference listed as number N-8.
I do not see this issue; Firefox 31.
I still see this issue on link in comment 0 with Firefox 30.0: "References" section ends with 25, last reference in text above is 33 though.
* I see this now. I stripped this down to a simpler exemplar: <ref>1</ref><ref>2</ref> <ref name="a1" group="u" /><ref name="a2" group="u" /> {{reflist|group="u"|refs= <ref name="a1">ref1</ref> <ref name="a2">ref2</ref> }} <ref>3</ref><ref>4</ref> <references /> * But using <references> in place of {{reflist}} resolves the issue: <ref>1</ref><ref>2</ref> <ref name="a1" group="u" /><ref name="a2" group="u" /> <references group="u"> <ref name="a1">ref1</ref> <ref name="a2">ref2</ref> </references> <ref>3</ref><ref>4</ref> <references /> * I will look at this a bit more later.
As I suspected, #tag:references is involved. This example triggers the issue: <ref>1</ref><ref>2</ref> <ref name=a1 group=u /><ref name=a2 group=u /> {{#tag:references| <ref name=a1>ref1</ref> <ref name=a2>ref2</ref> |group=u}} <ref>3</ref><ref>4</ref> <references /> I have updated the title to better reflect the issue.
The problem occurs because the list defined references are missing the group: <ref>1</ref><ref>2</ref> <ref name=a1 group=u /><ref name=a2 group=u /> {{#tag:references| <ref name=a1 group=u>ref1</ref> <ref name=a2 group=u>ref2</ref> |group=u}} <ref>3</ref><ref>4</ref> <references /> We should be getting an error instead of silently mangling the numbering. I think that resolves this issue, but I will file a report for the missing error.