As a template editor, I want to ensure my infobox always displays a quantity using the same unit, no matter which (convertible) unit is used in Wikidata.
Problem:
Wikibase supports unit conversion, but currently only in the RDF export – it’s not available to client wikis.
See T190813: Module for unit conversions for some related discussion.
Example:
Football players’ heights might be given in m or cm (query), but an infobox should always display it the same way.
Screenshots/mockups:
BDD
GIVEN
AND
WHEN
AND
THEN
AND
Acceptance criteria:
Open questions:
- Do we also want to make this available via parser functions?
- Should this be an interface similar to RDF, where you can get the converted value of a certain Wikibase quantity, or a more general unit conversion module that you can also feed your own quantities into?