Template:Rules
Jump to navigation
Jump to search
This is a workaround for the fact that wikibase.cloud does not (yet) support constraints. Rules defined here can be viewed on the discussion pages of the applicable properties/items by the use of {{Rules}}
.
RULE:
- 🐱Any item with a instance of (P5): MetaBase root item requiring Wikidata equivalent (Q10) MUST also have a same as on Wikidata (P1) property.
- 🐱Any item with a instance of (P5): index term (Q12) MUST also have a same as on Wikidata (P1) property.
- 🐱Any subject of a Wikimedia platform(s) affected (P13): MUST have instance of (P5): family of Wikimedia projects (Q25) OR instance of (P5): Wikimedia content project (Q22).
- 🐱Any subject of a organizer (P14): MUST have instance of (P5): organization (Q13) OR instance of (P5): human (Q23).
- 🐱Any value of a same as on Wikidata (P1): MUST be unique across MetaBase.
- 🐱Any value of a Capacity Exchange ID (P91): MUST be unique across MetaBase.
- 🐱Any statement with temporary free text field (P38): MUST also have a qualifier replaced by property (P41).
- The property number of affected content pages (P53) MUST only be used with qualifiers for Wikimedia platform(s) affected (P13), namespace (P56), resource type (P57).
- The property replaced by property (P41) MUST only be used as a qualifier for temporary free text field (P38).
- Any item with instance of (P5): human (Q23) MUST only have the properties same as on Wikidata (P1) OR affiliation (P34) (in addition to instance of (P5)).
- 🐱 Any item with instance of (P5): project (Q2) MUST only have values for has part(s) (P35) that are in turn instance of (P5): activity (Q8) (or subclass of (P4): activity (Q8))
- 🐱 Any item with instance of (P5): presentation (Q48), or subclass of (P4) thereof, MUST also have a speaker (P33) statement.
- 🐱 Any item with instance of (P5): workshop (Q37) MUST also have a manager / leader (P32) statement.