Page MenuHomePhabricator

[WLM] Create template for authors to provide required data
Closed, ResolvedPublic2 Estimated Story Points

Description

Based on the assumption that a structure can be identified by at most two identifiers, we'd need a template that creates a link to the Upload Wizard containing the following parameters:

pageid - the id of the current page; can be generated by the magic word {{PAGEID}}
entryid - the id of the monument
subid - optional; the id of the structure, if entryid refers to a compound

Event Timeline

Tobi_WMDE_SW raised the priority of this task from to Medium.
Tobi_WMDE_SW updated the task description. (Show Details)
KasiaWMDE raised the priority of this task from Medium to High.Jul 9 2015, 12:43 PM

Template has been created (see pull request).

Changes to Extension:UploadWizard to process the GET parameter objref follows.

I've created a "Bilderwunsch" templated (based on other, similar templates already in WP DE). It can be seen at
https://de.wikipedia.org/wiki/Benutzer:Gabriel_Birke_%28WMDE%29/Vorlage/Bilderwunsch_Upload_Commons

I've edited the existing "Denkmalliste Bayern Tabellenzeile" template for Bavaria slightly to incorporate the new template. To see the difference, have look at https://de.wikipedia.org/w/index.php?title=Benutzer%3AGabriel_Birke_%28WMDE%29%2FVorlage%2FDenkmalliste_Bayern_Tabellenzeile&type=revision&diff=144670125&oldid=144669021

For a demo of the two templates in action see https://de.wikipedia.org/wiki/Benutzer:Gabriel_Birke_%28WMDE%29/Demo_Liste_Baudenkmale_Bad_Wiessee (copied from Liste der Baudenkmäler in Bad Wiessee)

Please review the templates to see if there are some changed needed.

I was about to mention the empty <includeonly></includeonly>, but it's not empty anmore. :)

Looks good to me.