Page MenuHomePhabricator

Avoid adding invalid badges to a sitelink
Open, Needs TriagePublic

Description

Problem: Wikibase lets you add to any sitelink any of the badges supported by the software, regardless of whether they make sense for the linked project or not. All supported badges are, in fact, suggested by the web interface for any sitelink and in the same order.

badges.png (383×458 px, 44 KB)

Acceptance criteria:

  • The web interface only shows those badges that are valid for each sitelink.
  • The software does not allow to add badges that are not valid for a sitelink.

Open questions/suggestions:

  • The validity criterion could be determined by the data of the Wikidata entities representing each badge if this does not represent a technical problem.