| Tarrow updated the task description. (Show Details) |
CHANGES TO TASK DESCRIPTION
**Conclusions**
For values that look like entityids the datavalue type should be wikibase-entityid
* Everything works to plan when the value is an entityid and matching datatype is supplied {icon check color=green}
* For mismatched types:
** If the datatype is unknown returns `unknown datatype` {icon check color=green}
** If the datatype is one of `monolingualtext quantity string time external-id wikibase-item wikibase-property` and id is item or property return nice human link to entity {icon check color=orange}
** If the datatype is one of `monolingualtext quantity string time external-id wikibase-item wikibase-property` and id is lexeme (sub) id return link only to lexeme entity and no human readable string {icon check color=orange}
** If the datatype is one of `url commonsMedia geo-shape tabular-data` returns `internal_api_error_InvalidArgumentException` {icon times color=orange}
** If the datatype is `wikibase-lexeme` but id is not lexeme id returns `internal_api_error_InvalidArgumentException` {icon times color=orange}
** If the datatype is `wikibase-form` but existent lexeme or sense id provided causes fatal error {icon times color=red}
** If the datatype is `wikibase-form` and non-existent sense id provided return link to `deleted` sense {icon check color=orange}
** If the datatype is `wikibase-form` and non-existent lexeme id provided returns `internal_api_error_InvalidArgumentException` {icon times color=orange}
** If the datatype is `wikibase-sense` and a non-sense id is provided causes fatal error {icon times color=red}
...
- mismatching types**Conclusions**
For values that look like entityids the datavalue type should be wikibase-entityid
* Everything works to plan when the value is an entityid and matching datatype is supplied {icon check color=green}
* For mismatched types:
** If the datatype is unknown returns `unknown datatype` {icon check color=green}
** If the datatype is one of `monolingualtext quantity string time external-id wikibase-item wikibase-property` and id is item or property return nice human link to entity {icon check color=orange}
** If the datatype is one of `monolingualtext quantity string time external-id wikibase-item wikibase-property` and id is lexeme (sub) id return link only to lexeme entity and no human readable string {icon check color=orange}
** If the datatype is one of `url commonsMedia geo-shape tabular-data` returns `internal_api_error_InvalidArgumentException` {icon times color=orange}
** If the datatype is `wikibase-lexeme` but id is not lexeme id returns `internal_api_error_InvalidArgumentException` {icon times color=orange}
** If the datatype is `wikibase-form` but existent lexeme or sense id provided causes fatal error {icon times color=red}
** If the datatype is `wikibase-form` and non-existent sense id provided return link to `deleted` sense {icon check color=orange}
** If the datatype is `wikibase-form` and non-existent lexeme id provided returns `internal_api_error_InvalidArgumentException` {icon times color=orange}
** If the datatype is `wikibase-sense` and a non-sense id is provided causes fatal error {icon times color=red}
TASK DETAIL
EMAIL PREFERENCES
To: Tarrow
Cc: Lucas_Werkmeister_WMDE, Addshore, Nandana, Mringgaard, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, D3r1ck01, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Darkdadaah, Jdforrester-WMF, Mbch331, Jay8g, Krenair
Cc: Lucas_Werkmeister_WMDE, Addshore, Nandana, Mringgaard, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, D3r1ck01, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Darkdadaah, Jdforrester-WMF, Mbch331, Jay8g, Krenair
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
