Description
Create a predefined Wikifunctions type corresponding to Wikidata's datatype for quantity, to enable importing Wikidata's values for that type. We are currently calling this Quantity in Phabricator, but its official English label hasn't been determined yet.
- This work may involve one or more auxiliary types (for the keys of the main type), in addition to the main type.
Update: see the type proposal page for details and discussion.
- Collaborate with the community to determine the new type's keys, key types, details of parser and renderer functions, etc.
- Define the new type as a predefined persistent type.
- Define any new auxiliary types as predefined persistent types.
Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- Be able to represent any value that is supported by Wikidata's datatype for quantity.
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist