Am 03.02.2014 14:50, schrieb Lydia Pintscher:
On Sat, Feb 1, 2014 at 1:44 PM, Bene* <[email protected]> wrote:
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.
That was an oversight in the development plan document. I corrected
it. Several badges per sitelink need to be supported at least in the
future. We can start with one.
Cheers
Lydia
Hi Lydia,
I would be glad if you explained a bit further how this feature will
work on client. There needs to be a mechanism to select which items are
visible in the interwiki links section and which are not. This will
perhaps be a setting on the client. However, even if we say, only FA and
GA badges should be shown in the article, it can still come to
collisions when a sitelink has two badges which are both specified in
the client's config. How should this cases be handled?
Best regards,
Bene*
_______________________________________________
Wikidata-tech mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech