Hi guys,
I added a comment on bug 40810 but I also want to send it here to reach
more people.
We still need to discuss how the badges should work in general. At the
development plan [1] it says "Each sitelink can have zero or one badge
attached to it." This does not match the current implementation which
allows multiple badges. So the implementation needs to be changed to
only supporting one badge.
However, if we decide to keep the option of multiple badges we face some
other problems. First, the ui gets harder to be implemented on Wikidata.
This is not a real problem though. But a real problem is that we cannot
determine which badge we want to display on the client. The only option
I see to solve this issue is either to create another config variable
(very ugly) or to only allow one badge as stated in the development plan
anyway.
Best regards,
Bene*
[1]
https://www.wikidata.org/wiki/Wikidata:Development_plan