There are a couple of broken constraint parameters in the constraints.csv file for Wikidata:
- P227’s Qualifiers constraint has P131P136 with no comma in between.
- P227’s Unique value, P276’s Value type, P373’s Unique value, P685’s Item, P704’s Item, P901’s Item, and P3430’s Type constraint have Q-IDs with no comma in between (matches for [0-9]Q).
- P276’s Value type, P279’s Conflicts with, and P901’s Item constraint have Q-IDs with double Qs (“QQ13406463”).
(I think this list is mostly complete, at least for this kind of error – grep -P '(?!\b)[PQ][0-9]' wikidataconstraints.csv returns no other results.)
Previously, the checkers mostly did simple string comparisons on the parameters, but with the migration to constraint statements, we now do more validation on the constraint parameters even when they’re sourced from templates, so most of these errors are now reported as violations on all statements for the affected property.
We should ask the community to fix these where they haven’t been fixed already (or fix them ourselves?), and then do one more constraint template import.