Users are reporting that the Wiki Editor badge is being awarded multiple times to the same user, despite being configured as a single-grant badge. Elena_Lappen first noted the issue on Discourse 2.4.0.beta7, observing sporadic re-awards without a clear trigger, and confirmed it persisted after upgrading to 2.4.1 fa52ed3b16. Other users, including hawm, mentalstring, and ECoops123, confirmed the bug across multiple versions, noting that while the badge list only shows one instance, duplicate notifications appear. sam investigated and identified a flaw in the badge query logic — specifically, it wasn’t using min id like other badges — and committed a fix 40b6e278 to resolve the issue. The bug appears to be timing- or event-triggered, with no consistent reproduction method, and affects users regardless of trust level or role.
The Wiki Editor badge is awarded correctly to users the first time they edit a wiki post, but then sporadically awarded multiple times thereafter. Unfortunately I haven’t been able to reliably reproduce it so I don’t know in what specific cases it’s arising. I’ve received it myself multiple times, but do not receive it every time I edit a wiki. Two other users have reported it on our forum as well.
In terms of the settings, we have enabled the badge and it shows on the public badges page, but no other options are selected (i.e. we have not selected the option to allow for the badge to be granted multiple times).
Apologies, should have included that - we are on 2.4.0.beta7 (15f6f57cdc). If there’s something in later commits that you think may have resolved this issue, I can upgrade and report back.
I can confirm that this is still happening. We are on 2.4.1 but was happening with other recent versions too.
Hadn’t reported it yet because I don’t see a pattern to reproduce it other than: sometimes, someone already with the wiki editor badge, makes an edit on a wiki and some time after gets a notification about getting the badge again. List of badges only shows one badge — just the notification is repeated.