Some items needs to have two values for one property.
typical example is p31
instance of castle + instance of cultural monument
harvest_template and claimit should
- check, if this property exists
- if no
- add property with new value
- if yes
- check value
- if same
- skip
- if another
- add another value
(claimit -pagegenerator P31 Q123)
Additionally these script should be able to replace one value with another
(P123: Q123 -> Q456)
(claimit -pagegenerator P31 Q456 -overwrite:Q123)
See Also:
T69284: claimit.py should add another value but not duplicate