Page MenuHomePhabricator

[WLM] Update templates for monument lists
Closed, ResolvedPublic3 Estimated Story Points

Event Timeline

Tobi_WMDE_SW raised the priority of this task from to Medium.
Tobi_WMDE_SW updated the task description. (Show Details)
gabriel-wmde set Security to None.

When everything is in place, I'll add an example on how the templates should be changed.

KasiaWMDE raised the priority of this task from Medium to High.Aug 21 2015, 11:13 AM
Tobi_WMDE_SW renamed this task from [WLM] Update templates to contain links for adding images to [WLM] Update templates in monument lists.Aug 26 2015, 2:23 PM
Tobi_WMDE_SW renamed this task from [WLM] Update templates in monument lists to [WLM] Update templates for monument lists.
Tobi_WMDE_SW edited a custom field.

This task has proved to be tricky because some lists are very long and we run into limits for templates: When there are too many entries in a list, the generated text is too big and the table breaks. See https://de.wikipedia.org/wiki/Hilfe:Vorlagenbeschr%C3%A4nkungen

Here is the current state:

The following templates have upload links:

  • Bavaria: without camera icon because they don't like it. Without the central WLMUploadURL template (URL is hard-coded).
  • NRW and Lower Saxony: without camera icon because, the template limit would have been exceeded.
  • Saxonia-Anhalt : With camera icon. The lists "Liste der Kulturdenkmale in Halle (Saale)/Stadtbezirk Nord" and "Liste der Kulturdenkmale in Osterwieck" are exceeding the template limit but it's accepted by the Community.
  • Brandenburg: With camera icon
  • Hamburg: without camera icon because, the template limit would have been exceeded. Without the central WLMUploadURL template (URL is hard-coded).

No upload links:

  • Hesse: There are two lists for Hanaus and Gießen that would exceed the template limit so the user Cirdan, after really trying to make the impact of the changes as small as possible, has decided to not implement the feature.
  • Mecklenburg-Vorpommern, Saxonia, Thüringen: The templates are all based on "Denkmalliste Tabellenzeile". There are 3-6 lists in Saxonia where the template limit would be exceeded even when trying to make the template change as small as possible.

The missing counties can still be added after the lists containing too many entries have been split up. The limit seems to be around 600 entries. The offending pages can be found by going though the "Anzupassende Listen" details page for each county (and region in Saxonia) and looking for pages with more than 600 entries (or 450-500 just to be sure).

Some space can be gained by hard-coding the URLs in the "Tabellenzeile" template but that's a hassle IMHO.

I'd advise to set the state of this task to "blocked by external" since it's the community which has to split up the lists (or collectively decide that a few broken lists don't bother them).

gabriel-wmde removed gabriel-wmde as the assignee of this task.

WLM 2015 is has concluded without further status updates, so I'm doing some housekeeping and closing this.