Page MenuHomePhabricator

Wrong reuse message when creating a new reference
Closed, ResolvedPublicBUG REPORT

Description

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

Screenshot from 2026-05-05 16-57-15.png (1,004×503 px, 105 KB)

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

image.png (891×443 px, 78 KB)

Event Timeline

Change #1283026 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):

[mediawiki/extensions/Cite@master] VE: Avoid counting all refs when listIndex is undefined

https://gerrit.wikimedia.org/r/1283026

Change #1283033 had a related patch set uploaded (by Svantje Lilienthal; author: WMDE-Fisch):

[mediawiki/extensions/Cite@wmf/1.46.0-wmf.26] VE: Avoid counting all refs when listIndex is undefined

https://gerrit.wikimedia.org/r/1283033

Change #1283026 merged by jenkins-bot:

[mediawiki/extensions/Cite@master] VE: Avoid counting all refs when listIndex is undefined

https://gerrit.wikimedia.org/r/1283026

Change #1283101 had a related patch set uploaded (by WMDE-Fisch; author: WMDE-Fisch):

[mediawiki/extensions/Cite@wmf/1.47.0-wmf.1] VE: Avoid counting all refs when listIndex is undefined

https://gerrit.wikimedia.org/r/1283101

Change #1283033 merged by jenkins-bot:

[mediawiki/extensions/Cite@wmf/1.46.0-wmf.26] VE: Avoid counting all refs when listIndex is undefined

https://gerrit.wikimedia.org/r/1283033

Mentioned in SAL (#wikimedia-operations) [2026-05-06T07:19:17Z] <awight@deploy1003> Started scap sync-world: Backport for [[gerrit:1283033|VE: Avoid counting all refs when listIndex is undefined (T425433)]]

Mentioned in SAL (#wikimedia-operations) [2026-05-06T07:21:17Z] <awight@deploy1003> awight, lilients: Backport for [[gerrit:1283033|VE: Avoid counting all refs when listIndex is undefined (T425433)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-05-06T07:26:55Z] <awight@deploy1003> Finished scap sync-world: Backport for [[gerrit:1283033|VE: Avoid counting all refs when listIndex is undefined (T425433)]] (duration: 07m 37s)

Change #1283101 merged by jenkins-bot:

[mediawiki/extensions/Cite@wmf/1.47.0-wmf.1] VE: Avoid counting all refs when listIndex is undefined

https://gerrit.wikimedia.org/r/1283101

Mentioned in SAL (#wikimedia-operations) [2026-05-06T07:31:24Z] <awight@deploy1003> Started scap sync-world: Backport for [[gerrit:1283101|VE: Avoid counting all refs when listIndex is undefined (T425433)]], [[gerrit:rCICF12830376bd04|search: fix alt. completion indices to test keyword tokenizer (T420427)]], [[gerrit:1283041|search: enable Latin-to-Devanagari transliteration second-chance (T425018)]]

Mentioned in SAL (#wikimedia-operations) [2026-05-06T07:33:20Z] <awight@deploy1003> wmde-fisch, awight, dcausse: Backport for [[gerrit:1283101|VE: Avoid counting all refs when listIndex is undefined (T425433)]], [[gerrit:rCICF12830376bd04|search: fix alt. completion indices to test keyword tokenizer (T420427)]], [[gerrit:1283041|search: enable Latin-to-Devanagari transliteration second-chance (T425018)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can

Mentioned in SAL (#wikimedia-operations) [2026-05-06T07:40:23Z] <awight@deploy1003> Finished scap sync-world: Backport for [[gerrit:1283101|VE: Avoid counting all refs when listIndex is undefined (T425433)]], [[gerrit:rCICF12830376bd04|search: fix alt. completion indices to test keyword tokenizer (T420427)]], [[gerrit:1283041|search: enable Latin-to-Devanagari transliteration second-chance (T425018)]] (duration: 08m 58s)

Tobi_WMDE_SW claimed this task.