Merge pull request #2725 from OpenRefine/issue-2724-wikidata-endpoint
Update URL of Wikidata reconciliation service
This commit is contained in:
commit
348d82d131
@ -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) {
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user