From 1bb9e8a67ee4d70e1ded83fa4f60b591c3e09867 Mon Sep 17 00:00:00 2001 From: Antonin Delpeuch Date: Mon, 15 Jun 2020 00:35:10 +0200 Subject: [PATCH] Update URL of Wikidata reconciliation service. Closes #2724 --- main/src/com/google/refine/importers/WikitextImporter.java | 2 +- .../webapp/modules/core/scripts/reconciliation/recon-manager.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/src/com/google/refine/importers/WikitextImporter.java b/main/src/com/google/refine/importers/WikitextImporter.java index b4c3500f8..35ae666f3 100644 --- a/main/src/com/google/refine/importers/WikitextImporter.java +++ b/main/src/com/google/refine/importers/WikitextImporter.java @@ -736,7 +736,7 @@ public class WikitextImporter extends TabularImportingParserBase { String wikiUrl = JSONUtilities.getString(options, "wikiUrl", null); // Wikidata reconciliation endpoint, hardcoded because the user might not have it in its services String reconUrl = JSONUtilities.getString(options, "reconService", - "https://tools.wmflabs.org/openrefine-wikidata/en/api"); + "https://wdreconcile.toolforge.org/en/api"); StandardReconConfig cfg = getReconConfig(reconUrl); if (wikiUrl != null) { diff --git a/main/webapp/modules/core/scripts/reconciliation/recon-manager.js b/main/webapp/modules/core/scripts/reconciliation/recon-manager.js index 7c737e371..784f657e3 100644 --- a/main/webapp/modules/core/scripts/reconciliation/recon-manager.js +++ b/main/webapp/modules/core/scripts/reconciliation/recon-manager.js @@ -172,7 +172,7 @@ ReconciliationManager.getOrRegisterServiceFromUrl = function(url, f, silent) { ReconciliationManager.ensureDefaultServicePresent = function() { var lang = $.i18n('core-recon/wd-recon-lang'); - var url = "https://tools.wmflabs.org/openrefine-wikidata/"+lang+"/api"; + var url = "https://wdreconcile.toolforge.org/"+lang+"/api"; ReconciliationManager.getOrRegisterServiceFromUrl(url, function(service) { }, true); return url; };