Page MenuHomePhabricator

Support complex constraints
Open, Needs TriagePublic


It would be helpful if complex constraints violations were shown in the items like other constraints violations are. I assume this would probably require the queries to return which specific statement causes the violation, and it might not be always up-to-date, but it seems like it would be quite useful.

Event Timeline

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

@Lucas_Werkmeister_WMDE @Addshore Could you give some background on this? Will this become doable/easier with the work we're doing to get the constraint violation checks run periodically?

It might become easier to show the violations, but that still wouldn’t tell us anything about how long we can cache them for and when they should be invalidated. Also, we’d need to resurrect the parse-constraints-from-talk-pages code, since complex constraints aren’t defined in statements.

Couldn't the complex constraints be migrated to statements, if that's what it would take?