Merge pull request #2725 from OpenRefine/issue-2724-wikidata-endpoint

Update URL of Wikidata reconciliation service
This commit is contained in:
Tom Morris 2020-06-15 17:20:05 -04:00 committed by GitHub
commit 348d82d131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -737,7 +737,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;
};