ProfessionalWiki / AutomatedValues

Wikibase extension that allows defining rules to automatically set labels or aliases based on Statement values
https://wikibase.consulting/automating-values-in-wikibase
GNU General Public License v2.0
6 stars 3 forks source link

Product question: remove existing labels? #4

Closed JeroenDeDauw closed 2 years ago

JeroenDeDauw commented 2 years ago

Premise: Existing labels are overridden by automatically generated ones.

    "buildLabel": {
        "en": {
            "P2": "$"
        }
    },

The above will replace the existing English label with the value of the first statement with property P2.

Question: But what should happen if there is no P2 statement? Should the English label be removed?

mzeinstra commented 2 years ago

Excellent question, I would say we need to force compliance so the English label should be removed.

However I can also imagine that we set this up as a variable in the config. e.g. "force": True