It seems to me that allowing any number of batches is the way to go. We have
followed the approach of "allow everything, let the community impose
constraints" for most other things. Restricting this to a singe batch in the
data model seems a bad idea to me.
That being said, I think it would be fine if the UI would only allow for
adding/setting a single batch for now.
-- daniel
Am 01.02.2014 13:44, schrieb Bene*:
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
_______________________________________________
Wikidata-tech mailing list
Wikidata-tech(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
--
Daniel Kinzler
Senior Software Developer
Wikimedia Deutschland
Gesellschaft zur Förderung Freien Wissens e.V.