From 2fa14198622de2d5b5d14f3bb1bd541d73367f63 Mon Sep 17 00:00:00 2001 From: Antonin Delpeuch Date: Sat, 24 Nov 2018 15:49:15 +0000 Subject: [PATCH] Increment size of Wikidata edit batch ids --- .../wikidata/operations/PerformWikibaseEditsOperation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/wikidata/src/org/openrefine/wikidata/operations/PerformWikibaseEditsOperation.java b/extensions/wikidata/src/org/openrefine/wikidata/operations/PerformWikibaseEditsOperation.java index aabed7afe..d45c08709 100644 --- a/extensions/wikidata/src/org/openrefine/wikidata/operations/PerformWikibaseEditsOperation.java +++ b/extensions/wikidata/src/org/openrefine/wikidata/operations/PerformWikibaseEditsOperation.java @@ -194,7 +194,7 @@ public class PerformWikibaseEditsOperation extends EngineDependentOperation { // Generate batch token long token = (new Random()).nextLong(); String summary = _summary + String.format(" ([[:toollabs:editgroups/b/OR/%s|details]])", - (Long.toHexString(token).substring(0, 7))); + (Long.toHexString(token).substring(0, 8))); // Evaluate the schema List itemDocuments = _schema.evaluate(_project, _engine);