Change format of edit batch id

This commit is contained in:
Antonin Delpeuch 2018-03-05 20:43:09 +00:00
parent 68e0a899b8
commit 46964862bc

View File

@ -190,7 +190,8 @@ public class PerformWikibaseEditsOperation extends EngineDependentOperation {
// Generate batch token
long token = (new Random()).nextLong();
String summary = _summary + " #OR:"+(Long.toHexString(token).substring(0, 7));
String summary = _summary + String.format(" ([[Wikidata:Edit groups/OR/%s|discuss]])",
(Long.toHexString(token).substring(0, 7)));
// Evaluate the schema
List<ItemUpdate> itemDocuments = _schema.evaluate(_project, _engine);