jenkins-bot has submitted this change and it was merged.
Change subject: HarvestRobot: support external identifiers like strings ......................................................................
HarvestRobot: support external identifiers like strings
Bug: T129970 Change-Id: Ifb76c397e91ba7937712c3559ae9b9147958ebae --- M scripts/harvest_template.py 1 file changed, 1 insertion(+), 1 deletion(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/harvest_template.py b/scripts/harvest_template.py index f6b5dcd..569b25f 100755 --- a/scripts/harvest_template.py +++ b/scripts/harvest_template.py @@ -185,7 +185,7 @@ continue
claim.setTarget(linked_item) - elif claim.type == 'string': + elif claim.type in ('string', 'external-id'): claim.setTarget(value.strip()) elif claim.type == 'commonsMedia': commonssite = pywikibot.Site("commons", "commons")
pywikibot-commits@lists.wikimedia.org