Page MenuHomePhabricator

Parse quantity units from input
AcceptedPublic

Authored by matej_suchanek on Jul 18 2017, 10:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 3, 8:39 PM
Unknown Object (File)
Aug 14 2022, 12:07 PM
Unknown Object (File)
Aug 3 2022, 2:37 PM
Unknown Object (File)
Jul 28 2022, 4:42 PM
Unknown Object (File)
Jul 4 2022, 12:32 PM
Unknown Object (File)
Jun 29 2022, 4:46 PM
Unknown Object (File)
Jun 23 2022, 3:16 PM
Unknown Object (File)
Jun 18 2022, 5:45 AM

Details

Reviewers
Magnus
Patch without arc
git checkout -b D723 && curl -L https://phabricator.wikimedia.org/D723?download=true | git apply
Summary

1U11573 should add "1 metre"

Diff Detail

Repository
R2010 tool-quickstatements
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Lua and JSON serializations both output "1", so the same input is logical to me. Pywikibot and HarvestTemplates do the same. Do you have a link to a guidance which says "always provide URIs"?

Oh, I guess 1 is converted to that URI when exporting to RDF. Nevermind then.

Applied by manual edit

This revision is now accepted and ready to land.Jul 27 2017, 10:20 AM