Page MenuHomePhabricator and should not reimport deleted values
Open, Needs TriagePublic

Description harvest_template -template:Foo "Bar" P123

when is imported incorrect value and somebody deletes it on WIkidata only, on next run bot will reimport this from Wikipedia. In some cases there should be reverting war.

Scripts should check if there was not recently deleted this property with same value

some kind of this control (but without checking value) was in

                    if str(item.getVersionHistory(total=50)).find("wbremoveclaims-remove:1| */ [[Property:" + pid) is not -1:
                        pywikibot.output('%s cannot be added as it was recently removed from the item' % (pid,))
                        claim = wdhelper.matchDatatype(pid, value, page, item)