Page MenuHomePhabricator

[Story] Support unit conversion
Open, MediumPublic


User story: A quantity is given in meter on a Wikidata item. It shall be displayed in an infobox in feet.

Open Questions

  • What and where does the user see conversions etc. ?
  • Will there be an api module?
  • Will there be preferences?
  • What is done with imperial/metric systems?

Random collection of thoughts on unit conversion:

  • Convert based on info provided by GnuUnits
  • Conversion works between units that have a common base unit (with an appropriate factor)
  • Conversion takes into account the precision interval to determine the significant number of digits.
  • Support linear conversions (factor and offset)
  • Need separate types for absolute vs. relative temperature
  • Historical units are not convertible
  • Currencies are units, but not convertible
  • No conversion of unit-less numbers.
  • Pseudo-units for "count", "factor", "coefficient", "ratio", etc?

Event Timeline

daniel created this task.Dec 9 2014, 12:43 PM
daniel raised the priority of this task from to Medium.
daniel updated the task description. (Show Details)
daniel changed Security from none to None.
daniel added subscribers: Aklapper, daniel.
Jc3s5h added a subscriber: Jc3s5h.Aug 19 2015, 12:08 PM
Jonas renamed this task from Support unit conversion to [Story] Support unit conversion.Aug 28 2015, 1:05 PM
Jonas updated the task description. (Show Details)
mxn added a subscriber: mxn.Sep 10 2015, 6:30 AM