Page MenuHomePhabricator

Display constraint clarifications in violation messages
Open, Needs TriagePublic

Description

@ArthurPSmith just created the constraint clarification property; see the property proposal for discussion on how it can be used to improve violation messages. Assuming the community adopts it, we should include these clarifications in constraint violation messages.

Event Timeline

Maybe you want to add support for replacement_property as well.

I'd like to see this made a bit higher priority? It seems it would be fairly trivial to implement with a good impact. One that I have seen often repeated over and over by the Lexicographical community is this particular constraint and the explanation given over and over when folks hit the constraint but are left wondering what it really means. Here's an example where I've given "usage example" a constraint clarification text of that explanation we repeat so often to folks in Telegram chat.
https://www.wikidata.org/wiki/Property:P5831