Update URL of Wikidata reconciliation service. Closes #2724

This commit is contained in:
Antonin Delpeuch 2020-06-15 00:35:10 +02:00
parent bf1c890cc3
commit 1bb9e8a67e
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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;
};