Page MenuHomePhabricator

Add Hamburg in German to the monuments database
Open, LowestPublic

Description

Hamburg (DE-HH) seems to have the monument lists available on-wiki, with unique identifier. They are not templated yet, but in wikitable. See https://de.wikipedia.org/wiki/Wikipedia:WikiProjekt_Denkmalpflege/Deutschland/Hamburg for the overview.

Useful information to include:

  • project -wikipedia
  • lang -de
  • headerTemplate - the name of the header template
  • rowTemplate - the name of the row template
  • commonsTemplate - template to track images at Commons
  • commonsTrackerCategory - the tracker category at Commons (blala with known

IDs)

  • commonsCategoryBase - the base of the category tree at Commons for all images
  • autoGeocode - To automagicly geocode the images at Commons (be careful1)
  • unusedImagesPage - Page to put the list of unused images.
  • imagesWithoutIdPage - Page to put the list of images without an id.
  • registrantUrlBase - The url which can be combined with the id to get more

info

  • namespaces - What namespaces are the lists in (0, please!)
  • table - The name of the table, convention monuments_<country>_(<lang>)
  • truncate - False if you don't have a real primkey
  • primkey - What is the primkey? Can be one or more fields. Should be unique,

strong etc.


Version: unspecified
Severity: normal

Related Objects

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:45 AM
bzimport set Reference to bz53271.
bzimport added a subscriber: Unknown Object (MLST).
Aklapper lowered the priority of this task from Low to Lowest.Dec 29 2014, 12:38 AM

Uit T417611

Please add Hamburg to the monuments database

Useful information to include:

project - wikipedia
lang - de
code - de-hh
headerTemplate - Denkmalliste Hamburg Tabellenkopf
rowTemplate - Denkmalliste Hamburg Tabellenzeile
commonsTemplate - Kulturdenkmal Hamburg
commonsTrackerCategory - Cultural heritage monuments in Hamburg with known IDs
commonsCategoryBase - Category:Cultural heritage monuments in Hamburg
autoGeocode - To automagicly geocode the images at Commons (be careful1)
unusedImagesPage - Wikipedia:WikiProjekt Denkmalpflege/Deutschland/Hamburg/Ungenutzte Bilder
imagesWithoutIdPage - Wikipedia:WikiProjekt Denkmalpflege/Deutschland/Hamburg/Bilder ohne Nummer
registrantUrlBase -

Change #1254973 had a related patch set uploaded (by Akoopal; author: Akoopal):

[labs/tools/heritage@master] Added hamburg to erfgoedbot config.

https://gerrit.wikimedia.org/r/1254973

Added Z_thomas from the duplicate bug.

I configured the field 'Gemeinde' as well, should be useful, that can be set as parameter in Denkmalliste Hamburg Tabellenkopf, and then it will be set for all entries under that one.

Change #1254973 merged by jenkins-bot:

[labs/tools/heritage@master] Added hamburg to erfgoedbot config.

https://gerrit.wikimedia.org/r/1254973

This is now waiting on an issue with the table creation being solved.

These issues are now solved, and the harvesting works. I do find some unknown fields which seems to be wrongly used parameters, the big ones are Nummer_alt instead of Num_alt and Beschriftung instead of Beschreibung, see https://commons.wikimedia.org/wiki/Commons:Monuments_database/Unknown_fields/monuments_de-hh_(de)

Thanks for solving the task

some information about the wrongly used parameters

According to https://de.wikipedia.org/wiki/Vorlage:Denkmalliste_Hamburg_Tabellenzeile

  • "Nummer_alt" is the correct parameter. "Num_alt" is unknown in the template
  • "Beschriftung" is a new additional parameter. It was added at 2026/03/05

I removed/changed the two other wrong parameters "zentriert" and "ommonscat"

Do you need some changes in the templates?

Hi Z_thomas, thanks.

I will then add Nummer_alt instead, It is not used in the database itself, but just ignored. Not sure where I got Num_alt from. but indeed don't see it will change.

What will be the difference between beschreibung and beschriftung. I see Multichill already explained about the config, it is probably easier to see here:

https://heritage.toolforge.org/monuments_config/

If you look at de-hh_de.json, you will see that I add Beschreibung to the local table for de-hh, but it is not added to the the overall table. I am tempted to just put Beschriftung as to be ignored?

Change #1271840 had a related patch set uploaded (by Akoopal; author: Akoopal):

[labs/tools/heritage@master] ignoring some more fields

https://gerrit.wikimedia.org/r/1271840

Change #1271840 merged by jenkins-bot:

[labs/tools/heritage@master] ignoring some more fields

https://gerrit.wikimedia.org/r/1271840

Change #1275469 had a related patch set uploaded (by Akoopal; author: Akoopal):

[labs/tools/heritage@master] ignoring some more fields

https://gerrit.wikimedia.org/r/1275469

Change #1275469 abandoned by Akoopal:

[labs/tools/heritage@master] ignoring some more fields

Reason:

Completely messed up with this one, will redo in a new one.

https://gerrit.wikimedia.org/r/1275469

Change #1275474 had a related patch set uploaded (by Akoopal; author: Akoopal):

[labs/tools/heritage@master] Fixing double destination for de-hh_de

https://gerrit.wikimedia.org/r/1275474

Change #1275474 merged by jenkins-bot:

[labs/tools/heritage@master] Fixing double destination for de-hh_de

https://gerrit.wikimedia.org/r/1275474

Mentioned in SAL (#wikimedia-cloud) [2026-04-20T20:25:53Z] <wmbot~lokal-profil@tools-bastion-15> Deploy 8cf1305, db7d1ac (T55271), e885dad