daniel added a subscriber: daniel. daniel added a comment. Result of some discussion with Thiemo and Katie:
- Units are represented as URIs (hashed or truncated for SimpleQuery indexing) - Per default (and on Wikidata), they should be Wikidata Item URIs (needs Validator). - Choices may or may not be limited to a fixed list - when parsing units directly from an input string, the full URI must be given. Outside the scope of this task: - Units are selected using an EntitySelector (with a special option for "none"). The selected unit is passed as an option (using the same hack we use for Globe and Calendar). - Units are formatted (localized) using item labels. To provide a short form, these may be overwritten using message keys based on item IDs, e.g. something like wikibase-unit-symbol-Q828224, which would e.g. be "km" for English and "Км" for Russian. These could be populated from "unit symbol" statements on the respective item. TASK DETAIL https://phabricator.wikimedia.org/T65722 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. To: daniel Cc: Lydia_Pintscher, Tobi_WMDE_SW, mgrabovsky, Bene, Ash_Crow, Micru, Fale, Wikidata-bugs, Liuxinyu970226, Snipre, Stryn, daniel, aude _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
