Page MenuHomePhabricator

Implement “Reference” constraint
Closed, ResolvedPublic


A “used as reference” constraint (Q21528959) is violated when a property is used in a main snak or qualifier, instead of in a reference. It’s analogous to the “used for values only” and “used as qualifier” constraint types.

This should be possible to implement by following the instructions in the README and/or copying Id45d80e7a0. I’m leaving it open for a few days in case a volunteer wants to get their feet wet in the WikibaseQualityConstraints code, otherwise I’ll claim it and implement it (hopefully in time for T176863).

Event Timeline

Lydia_Pintscher moved this task from incoming to ready to go on the Wikidata board.

Change 382715 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/WikibaseQualityConstraints@master] Add “used as reference” constraint type

Change 382715 merged by jenkins-bot:
[mediawiki/extensions/WikibaseQualityConstraints@master] Add “used as reference” constraint type