Bug report
Steps to replicate the issue (include links if applicable):
- open an existing article with references in VE
- add a new basic reference
What happens?:
There is a message that this reference is being used X times. Example: https://de.wikipedia.org/wiki/Berliner_Kolonialausstellung_1896
What should have happened instead?:
Since it is a new reference, there should be no message about reuses.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
de wiki
Outcome
- Issue fixed by always assuming 0 when the listIndex is undefined
- Backported

