daniel added a comment.

I think the following assertions made in the description need discussion:

> The fact that units are URIs will never change. The fact that URIs start with 
> http:// or https:// will most probably never change.

This is true for wikibase, but Quantity and QuantityParser are not defined by 
wikibase - they are part of the datavalues/number component. Do we want to 
limit units to URIs for all users of the component?

Changing QuantityParser to //also// accept URLs as units in the input isn't 
that problematic, though I find it a bit strange. There is no need for the 
syntax accepted by the default parser to cover every valid Quantity.

> Asking if we, as a team, want to allow users to work with concept URIs is 
> like asking if a browser vendor wants to allow users to copy-paste URLs into 
> the address bar.

I think asking whether we want to support/encourage input of the form `"123 
https://www.wikidata.org/wiki/Q828224"`.

Overall, accepting additional forms of input isn't a problem, as long as it 
doesn't introduce ambiguities. But I think it's worth to at least talk about. 
If we make this part of our public interface, it's one (small) bit more to 
maintain compatibility with.


TASK DETAIL
  https://phabricator.wikimedia.org/T112082

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: daniel
Cc: adrianheine, Jonas, daniel, Tobi_WMDE_SW, Lydia_Pintscher, thiemowmde, 
Aklapper, Wikidata-bugs, aude, Mbch331



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to