jenkins-bot has submitted this change and it was merged.

Change subject: Break down monuments_config in individual JSON files
......................................................................


Break down monuments_config in individual JSON files

monuments_config.py is extremely hard to edit
(and thus to add new countries)

This breaks down the huge Python dictionary into
individual JSON files, one for each (country,lang) config,
which are read and exposed by monuments_config.py

It adds two fields to each config:

- country, as it makes it much easier to infer from the config
  (rather than relying on the file naming for example)

- description, as a human-readable explication blurb:
  it makes it easier to find the right configuration file
  if one cannot remember the country code of a given country.

Bug: T145333
Change-Id: I2284dec18633b7a0e11175f5b5908117067f0ec2
---
M erfgoedbot/monuments_config.py
A erfgoedbot/monuments_config/ad_ca.json
A erfgoedbot/monuments_config/al_sq.json
A erfgoedbot/monuments_config/am_hy.json
A erfgoedbot/monuments_config/aq_en.json
A erfgoedbot/monuments_config/ar_es.json
A erfgoedbot/monuments_config/at_de.json
A erfgoedbot/monuments_config/az_az.json
A erfgoedbot/monuments_config/be-bru_nl.json
A erfgoedbot/monuments_config/be-vlg_en.json
A erfgoedbot/monuments_config/be-vlg_fr.json
A erfgoedbot/monuments_config/be-vlg_nl.json
A erfgoedbot/monuments_config/be-wal_en.json
A erfgoedbot/monuments_config/be-wal_fr.json
A erfgoedbot/monuments_config/be-wal_nl.json
A erfgoedbot/monuments_config/bo_es.json
A erfgoedbot/monuments_config/by_be-tarask.json
A erfgoedbot/monuments_config/ca_en.json
A erfgoedbot/monuments_config/ca_fr.json
A erfgoedbot/monuments_config/ch-old_en.json
A erfgoedbot/monuments_config/ch2_de.json
A erfgoedbot/monuments_config/ch3_de.json
A erfgoedbot/monuments_config/ch_de.json
A erfgoedbot/monuments_config/ch_fr.json
A erfgoedbot/monuments_config/ch_it.json
A erfgoedbot/monuments_config/cl_es.json
A erfgoedbot/monuments_config/cm_fr.json
A erfgoedbot/monuments_config/cn_en.json
A erfgoedbot/monuments_config/co_es.json
A erfgoedbot/monuments_config/cz_cs.json
A erfgoedbot/monuments_config/de-by_de.json
A erfgoedbot/monuments_config/de-he_de.json
A erfgoedbot/monuments_config/de-nrw-bm_de.json
A erfgoedbot/monuments_config/de-nrw-k_de.json
A erfgoedbot/monuments_config/dk-bygning_da.json
A erfgoedbot/monuments_config/dk-fortids_da.json
A erfgoedbot/monuments_config/dz_ar.json
A erfgoedbot/monuments_config/ee_et.json
A erfgoedbot/monuments_config/es-ct_ca.json
A erfgoedbot/monuments_config/es-gl_gl.json
A erfgoedbot/monuments_config/es-vc_ca.json
A erfgoedbot/monuments_config/es_ca.json
A erfgoedbot/monuments_config/es_es.json
A erfgoedbot/monuments_config/fr-object_fr.json
A erfgoedbot/monuments_config/fr_ca.json
A erfgoedbot/monuments_config/fr_fr.json
A erfgoedbot/monuments_config/gb-eng_en.json
A erfgoedbot/monuments_config/gb-nir_en.json
A erfgoedbot/monuments_config/gb-sct_en.json
A erfgoedbot/monuments_config/gb-wls_en.json
A erfgoedbot/monuments_config/ge_ka.json
A erfgoedbot/monuments_config/gh_en.json
A erfgoedbot/monuments_config/hk_en.json
A erfgoedbot/monuments_config/hu_hu.json
A erfgoedbot/monuments_config/ie_en.json
A erfgoedbot/monuments_config/il-npa_he.json
A erfgoedbot/monuments_config/il_he.json
A erfgoedbot/monuments_config/in_en.json
A erfgoedbot/monuments_config/ir_fa.json
A erfgoedbot/monuments_config/it-88_ca.json
A erfgoedbot/monuments_config/it-bz_de.json
A erfgoedbot/monuments_config/it_it.json
A erfgoedbot/monuments_config/jo_ar.json
A erfgoedbot/monuments_config/jp-nhs_en.json
A erfgoedbot/monuments_config/ke_en.json
A erfgoedbot/monuments_config/lu_lb.json
A erfgoedbot/monuments_config/mt_de.json
A erfgoedbot/monuments_config/mx_es.json
A erfgoedbot/monuments_config/nl-aw_en.json
A erfgoedbot/monuments_config/nl-aw_nl.json
A erfgoedbot/monuments_config/nl-gem_nl.json
A erfgoedbot/monuments_config/nl-prov_nl.json
A erfgoedbot/monuments_config/nl_nl.json
A erfgoedbot/monuments_config/no_no.json
A erfgoedbot/monuments_config/np_en.json
A erfgoedbot/monuments_config/pa_es.json
A erfgoedbot/monuments_config/ph_en.json
A erfgoedbot/monuments_config/pk_en.json
A erfgoedbot/monuments_config/pl_pl.json
A erfgoedbot/monuments_config/pt_pt.json
A erfgoedbot/monuments_config/ro_ro.json
A erfgoedbot/monuments_config/rs_sr.json
A erfgoedbot/monuments_config/ru_ru.json
A erfgoedbot/monuments_config/se-arbetsl_sv.json
A erfgoedbot/monuments_config/se-bbr_sv.json
A erfgoedbot/monuments_config/se-fornmin_sv.json
A erfgoedbot/monuments_config/se-ship_sv.json
A erfgoedbot/monuments_config/sk_de.json
A erfgoedbot/monuments_config/sk_sk.json
A erfgoedbot/monuments_config/sv_es.json
A erfgoedbot/monuments_config/th_th.json
A erfgoedbot/monuments_config/tn_fr.json
A erfgoedbot/monuments_config/ua_uk.json
A erfgoedbot/monuments_config/us-ca_en.json
A erfgoedbot/monuments_config/us_en.json
A erfgoedbot/monuments_config/uy_es.json
A erfgoedbot/monuments_config/ve_es.json
A erfgoedbot/monuments_config/wlpa-at_de.json
A erfgoedbot/monuments_config/wlpa-es-ct_ca.json
A erfgoedbot/monuments_config/wlpa-fi_fi.json
A erfgoedbot/monuments_config/wlpa-il_en.json
A erfgoedbot/monuments_config/xk_sq.json
A erfgoedbot/monuments_config/za_en.json
M tests/test_monuments_config.py
104 files changed, 9,042 insertions(+), 8,720 deletions(-)

Approvals:
  Lokal Profil: Looks good to me, approved
  jenkins-bot: Verified




-- 
To view, visit https://gerrit.wikimedia.org/r/313766
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I2284dec18633b7a0e11175f5b5908117067f0ec2
Gerrit-PatchSet: 1
Gerrit-Project: labs/tools/heritage
Gerrit-Branch: master
Gerrit-Owner: Jean-Frédéric <jeanfrederic.w...@gmail.com>
Gerrit-Reviewer: Jean-Frédéric <jeanfrederic.w...@gmail.com>
Gerrit-Reviewer: Lokal Profil <lokal.pro...@gmail.com>
Gerrit-Reviewer: Multichill <maar...@mdammers.nl>
Gerrit-Reviewer: Siebrand <siebr...@kitano.nl>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to