Template:Constraint:Symmetric
Symmetric property: if [item A] has this property linked to [item B], then [item B] should also have this property linked to [item A].
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). List of violations of this constraint: Database reports/Constraint violations/Constraint:Symmetric#Symmetric
This template is obsolete. Please use property constraint (P2302) instead. For further information, see Help:Property constraints portal. |
Template documentation[view · edit · history · ] [translate this template]
Sample property with this constraint: Property:P26 ("spouse")
- A
- spouse: B
- B
- spouse: A
This template categorizes into Category:Properties with symmetric constraints
Usage
edit{{Constraint:Symmetric}}
Bot jobs
edit- Sample entry from the report for P26: "Q407: Q1089201"
- This means that "Q1089201" should get P:P26 with value "Q407".
- After an initial run and to avoid that users correcting errors have to do this several times, bots should remember which items they added before and output them to a list for manual check/addition if they re-appear.
- A way to do this could be to append processed items to Constraint_violations/P26/automatically fixed and skip these items in a successive run.
See also
edit- Template:Constraint
- Template:Constraint:Symmetric/text — translatable texts for this template
The above documentation is transcluded from Template:Constraint:Symmetric/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |