Page MenuHomePhabricator

Suggestion for single value constraint violation in qualifiers could be improved
Open, Needs TriagePublic

Description

'winner' has a single value constraint with some separators. It can be used as a qualifier. But if there are multiple values as qualifiers, the separators cannot be used. The suggestion "This property should only have a single value with the same set of qualifiers..." is then quite useless. Perhaps it could be reworded.

Sample: https://www.wikidata.org/wiki/Q29937708#P3085

obrazek.png (573×1 px, 29 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Should we switch the violation message to the version without separators if we’re not checking the main statement? Or should the check be done differently?

I think that the violation message should be shown only if the property is used as main value, not when it is used as qualifier (see also https://www.wikidata.org/wiki/Q830798#P8189).

I think that the violation message should be shown only if the property is used as main value, not when it is used as qualifier (see also https://www.wikidata.org/wiki/Q830798#P8189).

You can change that for an individual constraint with the constraint scope constraint parameter.

Thanks, solved the case for P1476