Update Wikidata extension for 3.3
This commit is contained in:
parent
10c046698a
commit
fe7c71aecd
@ -985,7 +985,7 @@ SchemaAlignmentDialog._initField = function(inputContainer, mode, initialValue,
|
||||
changedCallback();
|
||||
});
|
||||
|
||||
SchemaAlignmentDialog.setupStringInputValidation(input, /^\d{4}(-[0-1]\d(-[0-3]\d)?)?$/);
|
||||
SchemaAlignmentDialog.setupStringInputValidation(input, /^((\d{4}(-[0-1]\d(-[0-3]\d)?)?)|TODAY)$/);
|
||||
} else if (mode === "globe-coordinate") {
|
||||
input.attr("placeholder", "lat,lon");
|
||||
var propagateValue = function(val) {
|
||||
|
@ -175,7 +175,7 @@ public class PerformWikibaseEditsOperation extends EngineDependentOperation {
|
||||
// make sure they can be told apart.
|
||||
String summaryWithoutCommas = _summary.replaceAll(", ","ꓹ ").replaceAll(": ","։ ");
|
||||
String summary = summaryWithoutCommas + String.format(" ([[:toollabs:editgroups/b/OR/%s|details]])",
|
||||
(Long.toHexString(token).substring(0, 9)));
|
||||
(Long.toHexString(token).substring(0, 10)));
|
||||
|
||||
// Evaluate the schema
|
||||
List<ItemUpdate> itemDocuments = _schema.evaluate(_project, _engine);
|
||||
|
Loading…
Reference in New Issue
Block a user