In particular, it should be easy to get the unit label by inspecting the HTML DOM.
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Introduce VocabularyUriFormatter and use QuantityHtmlFormatter | mediawiki/extensions/Wikibase | master | +230 -97 |
| Status | Subtype | Assigned | Task | |
|---|---|---|---|---|
| · · · | ||||
| Resolved | thiemowmde | T111172 [Task] Provide JS with sufficient information to determine the human readable label given the vocabulary URI for a unit | ||
| Resolved | thiemowmde | T111186 [Task] Add machine readable markup to HTML rendering of quantities | ||
| · · · |
Event Timeline
Comment Actions
Change 235495 had a related patch set uploaded (by Daniel Kinzler):
Use QuantityHtmlFormatter
Comment Actions
More patches for review:
- https://github.com/DataValues/Number/pull/45
- https://github.com/DataValues/Number/pull/44
- The DataValues Number component needs a 0.6.0 release then (see https://github.com/DataValues/Number/milestones/0.6.0 for my suggestion of what should go into this release).
- To be used in https://gerrit.wikimedia.org/r/235495
Comment Actions
Change 235495 merged by jenkins-bot:
Introduce VocabularyUriFormatter and use QuantityHtmlFormatter