Change default reconciliation service to Wikidata
This commit is contained in:
parent
b14dd56b80
commit
d967605816
@ -350,7 +350,8 @@
|
||||
"as-property": "As Property",
|
||||
"contact-service": "Contacting reconciliation service",
|
||||
"error-contact": "Error contacting recon service",
|
||||
"fb-recon": "Freebase Query-based Reconciliation",
|
||||
"wd-recon": "Wikidata Reconciliation",
|
||||
"wd-recon-lang": "en",
|
||||
"recon-col": "Reconcile column",
|
||||
"pick-service": "Pick a Service or Extension on Left",
|
||||
"add-recon-srv": "Add Namespaced Reconciliation Service",
|
||||
|
@ -350,7 +350,8 @@
|
||||
"as-property": "As Property",
|
||||
"contact-service": "Contacting reconciliation service",
|
||||
"error-contact": "Error contacting recon service",
|
||||
"fb-recon": "Freebase Query-based Reconciliation",
|
||||
"wd-recon": "Wikidata Reconciliation",
|
||||
"wd-recon-lang": "en",
|
||||
"recon-col": "Reconcile column",
|
||||
"pick-service": "Pick a Service or Extension on Left",
|
||||
"add-recon-srv": "Add Namespaced Reconciliation Service",
|
||||
|
@ -350,7 +350,8 @@
|
||||
"as-property": "Como propiedad",
|
||||
"contact-service": "Contactando al servicio",
|
||||
"error-contact": "Error contactando al servicio",
|
||||
"fb-recon": "Freebase basado en consulta",
|
||||
"wd-recon": "Wikidata",
|
||||
"wd-recon-lang": "es",
|
||||
"recon-col": "Cotejar columna",
|
||||
"pick-service": "Seleccione un servicio o extensión a la izquierda",
|
||||
"add-recon-srv": "Agregar servicio namespace",
|
||||
|
@ -350,7 +350,8 @@
|
||||
"as-property": "Comme propriété",
|
||||
"contact-service": "Connexion au service de réconciliation",
|
||||
"error-contact": "Erreur lors de la connexion au service de réconciliation",
|
||||
"fb-recon": "Réconciliation basée sur des requêtes Freebase",
|
||||
"wd-recon": "Réconciliation Wikidata",
|
||||
"wd-recon-lang": "fr",
|
||||
"recon-col": "Réconcilier la colonne",
|
||||
"pick-service": "Choisir un service ou une extension à gauche",
|
||||
"add-recon-srv": "Ajouter un service de réconciliation avec un espace de noms",
|
||||
|
@ -350,7 +350,8 @@
|
||||
"as-property": "Come Proprietà",
|
||||
"contact-service": "Contattando il servizio di riconciliazione",
|
||||
"error-contact": "Errore durante il contatto del servizio di riconciliazione",
|
||||
"fb-recon": "Riconciliazione Freebase basata su query",
|
||||
"wd-recon": "Riconciliazione Wikidata",
|
||||
"wd-recon-lang": "it",
|
||||
"recon-col": "Riconcilia la colonna",
|
||||
"pick-service": "Seleziona un Servizio o Estensione sulla Sinistra",
|
||||
"add-recon-srv": "Aggiungi un servizio di riconciliazione con Namespace",
|
||||
|
@ -350,7 +350,8 @@
|
||||
"as-property": "プロパティ",
|
||||
"contact-service": "名寄せサービスにコンタクト中",
|
||||
"error-contact": "名寄せサービスのコンタクトにエラー",
|
||||
"fb-recon": "Freebase Query-based Reconciliation",
|
||||
"wd-recon": "Wikidata Reconciliation",
|
||||
"wd-recon-lang": "jp",
|
||||
"recon-col": "カラムを名寄せ",
|
||||
"pick-service": "左からサービスかエクステンションを選択",
|
||||
"add-recon-srv": "名前空間名寄せサービスを追加",
|
||||
|
@ -350,7 +350,8 @@
|
||||
"as-property": "作为属性",
|
||||
"contact-service": "正在访问搭配服务",
|
||||
"error-contact": "在访问搭配服务时出现异常",
|
||||
"fb-recon": "基于query的Freebase搭配",
|
||||
"wd-recon": "基于query的Wikidata搭配",
|
||||
"wd-recon-lang": "zh",
|
||||
"recon-col": "搭配列",
|
||||
"pick-service": "在左侧选择一个服务或扩展",
|
||||
"add-recon-srv": "添加具命名空间的搭配服务",
|
||||
|
@ -140,10 +140,28 @@ ReconciliationManager.save = function(f) {
|
||||
};
|
||||
|
||||
(function() {
|
||||
ReconciliationManager.customServices.push({
|
||||
"name" : $.i18n._('core-recon')["fb-recon"],
|
||||
"ui" : { "handler" : "ReconFreebaseQueryPanel" }
|
||||
});
|
||||
var lang = $.i18n._('core-recon')["wd-recon-lang"];
|
||||
ReconciliationManager.customServices.push(
|
||||
{"suggest":
|
||||
{"property":
|
||||
{"service_url": "https://tools.wmflabs.org/openrefine-wikidata",
|
||||
"service_path": "/"+lang+"/suggest/property"},
|
||||
"type":
|
||||
{"service_url": "https://tools.wmflabs.org/openrefine-wikidata",
|
||||
"service_path": "/"+lang+"/suggest/type"},
|
||||
"entity": {"service_url": "https://tools.wmflabs.org/openrefine-wikidata",
|
||||
"service_path": "/"+lang+"/suggest/entity"}},
|
||||
"view":
|
||||
{"url": "https://www.wikidata.org/wiki/{{id}}"},
|
||||
"preview":
|
||||
{"height": 90,
|
||||
"url": "https://tools.wmflabs.org/openrefine-wikidata/"+lang+"/preview?id={{id}}",
|
||||
"width": 320},
|
||||
"name": $.i18n._('core-recon')["wd-recon"],
|
||||
"url" : "https://tools.wmflabs.org/openrefine-wikidata/"+lang+"/api",
|
||||
"ui" : { "handler": "ReconStandardServicePanel" },
|
||||
});
|
||||
var cs = ReconciliationManager.customServices;
|
||||
|
||||
$.ajax({
|
||||
async: false,
|
||||
|
Loading…
Reference in New Issue
Block a user