Hi,
Great news, but I have some questions ;-) It seems that the unit can be
any IRI that starts with http or https, even if not referring to an
entity of the wiki.
Then what happens with the "unit":"1" that currently we have in JSON?
It
seems that one cannot enter this string in the field, and I guess it
would (rightly) be invalid as a unit. Will Wikibase continue to use this
(invalid) string as a placeholder for "no unit"?
If every wiki needs to define its own unit items to see labels, how is
data exchange supposed to work? Will the RDF export then contain a
different IRI for "meter" when exporting data from Wikidata and from
Commons (or whatever other future instance)?
Cheers,
Markus
On 31.08.2015 17:53, Lydia Pintscher wrote:
Hi everyone :)
We've finally done all the groundwork for unit support. I'd love for
you to give the first version a try on the test system here:
http://wikidata.beta.wmflabs.org/wiki/Q23950
There are a few known issues still but since this is one of the things
holding back Wikidata I made the call to release now and work on these
remaining things after that. What I know is still missing:
* We're showing the label of the item of the unit. We should be
showing the symbol of the unit in the future.
(
https://phabricator.wikimedia.org/T77983)
* We can't convert between units yet - we only have the groundwork for
it so far. (
https://phabricator.wikimedia.org/T77978)
* The items representing often-used units should be ranked higher in
the selector. (
https://phabricator.wikimedia.org/T110673)
* When editing an existing value you see the URL of unit's item. This
should be replaced by the label.
(
https://phabricator.wikimedia.org/T110675)
* When viewing a diff of a unit change you see the URL of the unit's
item. This should be replaced by the label.
(
https://phabricator.wikimedia.org/T108808)
* We need to think some more about the automatic edit summaries for
unit-related changes. (
https://phabricator.wikimedia.org/T108807)
If you find any bugs or if you are missing other absolutely critical
things please let me know here or file a ticket on
phabricator.wikimedia.org. If everything goes well we can get this on
Wikidata next Wednesday.
Cheers
Lydia