abian added a comment.
In T222861#5169845 <https://phabricator.wikimedia.org/T222861#5169845>, @Lucas_Werkmeister_WMDE wrote: > We could define three new predicates to link statements to constraints only if the constraint status matches that predicate, either in addition to the existing `wikibase:hasViolationForConstraint` predicate (which would continue to link statements to constraints for violations of any status), or replacing it (though this would break existing queries). > > I’m struggling to find a good name for the middle predicate, though, because I don’t think we have a good name for the default status. The items are “mandatory constraint”, (none) and “suggestion constraint”; internally, the statuses are `violation`, `warning` and `suggestion`, but if we use `violation` directly that collides with the existing predicate. > > `wikibase:has{MandatoryViolation,Warning,Suggestion}ForConstraint` would work, but feels odd to me. Thoughts? Related: T220028#5095253 <https://phabricator.wikimedia.org/T220028#5095253>. Please feel free to copy/move/adapt/discuss/reject anything. TASK DETAIL https://phabricator.wikimedia.org/T222861 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: abian Cc: abian, Smalyshev, Harmonia_Amanda, Lucas_Werkmeister_WMDE, Aklapper, Lea_Lacroix_WMDE, darthmon_wmde, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs