Lokal Profil has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/375539 )
Change subject: [WIP] Add Peru in Spanish to the database ...................................................................... [WIP] Add Peru in Spanish to the database WIP due to: * Missing fields * Missing converter Bug: T174245 Change-Id: I0daeaa6025c3e315e8bada21e51a0982f9c28d89 --- A erfgoedbot/monuments_config/pe_es.json 1 file changed, 143 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/labs/tools/heritage refs/changes/39/375539/1 diff --git a/erfgoedbot/monuments_config/pe_es.json b/erfgoedbot/monuments_config/pe_es.json new file mode 100644 index 0000000..0b0883c --- /dev/null +++ b/erfgoedbot/monuments_config/pe_es.json @@ -0,0 +1,143 @@ +{ + "country": "pe", + "lang": "es", + "description": "Monuments in Peru in Spanish", + "project": "wikipedia", + "namespaces": [ + 104 + ], + "table": "monuments_pe_(es)", + "truncate": false, + "primkey": "id", + "headerTemplate": "MonumentoPerú/encabezado", + "rowTemplate": "MonumentoPerú", + "commonsTemplate": "Monumento de Peru", + "commonsTrackerCategory": "Cultural heritage monuments in Peru with known IDs", + "commonsCategoryBase": "Cultural heritage monuments in Peru", + "unusedImagesPage": "", + "imagesWithoutIdPage": "", + "fields": [ + { + "dest": "id", + "source": "id" + }, + { + "dest": "monumento", + "source": "monumento" + }, + { + "dest": "municipio", + "source": "municipio" + }, + { + "dest": "localidad", + "source": "localidad" + }, + { + "dest": "lat", + "source": "lat", + "check": "checkLat" + }, + { + "dest": "lon", + "source": "long", + "check": "checkLon" + }, + { + "dest": "direccion", + "source": "dirección" + }, + { + "dest": "monumento_enlace", + "source": "monumento_enlace" + }, + { + "dest": "enlace", + "source": "enlace" + }, + { + "dest": "monumento_desc", + "source": "monumento_desc" + }, + { + "dest": "iso", + "source": "ISO" + }, + { + "dest": "commonscat", + "source": "monumento_categoría" + }, + { + "dest": "image", + "source": "imagen" + } + ], + "sql_lang": "Spanish", + "sql_country": "Peru", + "sql_data": { + "country": { + "value": "pe", + "type": "Text" + }, + "lang": { + "value": "es", + "type": "Text" + }, + "id": { + "value": "id", + "type": "Field" + }, + "adm0": { + "value": "pe", + "type": "Text" + }, + "adm1": { + "value": "LOWER(`iso`)", + "type": "Raw" + }, + "adm2": { + "value": "municipio", + "type": "Field" + }, + "name": { + "value": "monumento", + "type": "Field" + }, + "address": { + "value": "direccion", + "type": "Field" + }, + "municipality": { + "value": "municipio", + "type": "Field" + }, + "lat": { + "value": "lat", + "type": "Field" + }, + "lon": { + "value": "lon", + "type": "Field" + }, + "image": { + "value": "image", + "type": "Field" + }, + "commonscat": { + "value": "commonscat", + "type": "Field" + }, + "source": { + "value": "source", + "type": "Field" + }, + "changed": { + "value": "changed", + "type": "Field" + }, + "monument_article": { + "value": "monumento_enlace", + "type": "Field" + } + } +} -- To view, visit https://gerrit.wikimedia.org/r/375539 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0daeaa6025c3e315e8bada21e51a0982f9c28d89 Gerrit-PatchSet: 1 Gerrit-Project: labs/tools/heritage Gerrit-Branch: master Gerrit-Owner: Lokal Profil <lokal.pro...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits