https://bugzilla.wikimedia.org/show_bug.cgi?id=63299

--- Comment #1 from Adrian Lang <[email protected]> ---
I discussed this with Daniel Kinzler. The desired behavior is as following:

(in PropertyValueSnakFormatter::formatSnak)
* Get data type for property
* Get expected data value type for property data type
* If expected data value type does not match actual data value type, add error
to output (for widget html)
* look up formatter based on property data type if expected data value type
matches actual data value type
* If no formatter found, look up formatter for actual data value type

Put together: Always format value, try to give error messages if there are
mismatches.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to