| Lucas_Werkmeister_WMDE claimed this task. Lucas_Werkmeister_WMDE added a comment. |
With https://gerrit.wikimedia.org/r/#/c/349894 and https://gerrit.wikimedia.org/r/#/c/352864, all constraint statements are stored in the constraint table. What’s left to do is to also read them from there.
Here’s a TODO list of all the constraint types that currently exist in templates (sorted by number of constraints, descending), along with tasks/changes for reading them from constraint statements:
- Item: https://gerrit.wikimedia.org/r/356826
- Single value: https://gerrit.wikimedia.org/r/#/c/349894
- Unique value: https://gerrit.wikimedia.org/r/#/c/349894
- Type: https://gerrit.wikimedia.org/r/352865
- Format: unimplemented, T102752
- Conflicts with: https://gerrit.wikimedia.org/r/356851
- Value type: https://gerrit.wikimedia.org/r/352865
- Units: unimplemented, T164372
- Target required claim: https://gerrit.wikimedia.org/r/356842
- Qualifiers: TODO
- Range: TODO
- Qualifier: https://gerrit.wikimedia.org/r/#/c/349894
- One of: https://gerrit.wikimedia.org/r/356860
- Mandatory qualifiers: TODO
- Inverse: https://gerrit.wikimedia.org/r/356421
- Contemporary: unimplemented, T141859
- Value only: pointless as long as we only check the main value (always satisfied, just like Qualifier is always in violation)
- Commons link: TODO
- Symmetric: https://gerrit.wikimedia.org/r/#/c/349894
- Source: unimplemented, T166892
- Multi value: https://gerrit.wikimedia.org/r/#/c/349894
- Diff within range: TODO
I think we’re pretty well on track for reading all constraint types from statements; once that’s deployed, @Ivan_A_Krestinin can do the actual migration.
TASK DETAIL
EMAIL PREFERENCES
To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Ivan_A_Krestinin, Agabi10, Ricordisamoa, Ladsgroup, Lydia_Pintscher, Jonaskeutel, Aklapper, GoranSMilovanovic, QZanden, Izno, Wikidata-bugs, aude, Mbch331
Cc: Lucas_Werkmeister_WMDE, Ivan_A_Krestinin, Agabi10, Ricordisamoa, Ladsgroup, Lydia_Pintscher, Jonaskeutel, Aklapper, GoranSMilovanovic, QZanden, Izno, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
