Motivation
- w:en:Template:Information has some rarely used extra parameters as compared to c:Template:Information ("Location" and "Additional_information").
- Same goes for de-wiki with "Anmerkungen" as a field in the Information template
Ideas
- Since this field needs to be filled with a special template[1], the information form the source can only be kept, when an extension of the original parameter value is possible. For that we would need to support a more complex way to parse and transfer templates and values.
Example:
{{Information| Anmerkung = das Bild wurde mit einer Drohne aufgenommen }}
could become
{{Information| Other fields = {{Information field | Name = Remarks | Value = das Bild wurde mit einer Drohne aufgenommen}} }}
[1] https://commons.wikimedia.org/wiki/Template:Information_field
Acceptance Criteria
- It should be possible to define in the config file which other parameters are also allowed in the information template
- We should be able with translating the parameter name to a Commons equivalent, and with adding the content to that new name, allowing users to wrap this in their language ("@")
- These parameters should be shown as last info of the information template, but multiple parameters can be shown in one row.
- When at least one such parameter exists, it should be transfered to Commons (if the config file has been set up)
- If no extra parameter exists, no extra line is added
- If one of the defined parameters is empty it might just be removed
- In this version, only the information template is affected. Please add a note TODO ask @JStrodt_WMDE to formulate once the syntax is clear, but make sure that information template only is mentioned
Notes
- See the information template's page on Commons for more info about possible other fields.
Where this request was mentioned
- https://www.mediawiki.org/wiki/Topic:Uspqx0os089za2pe
- https://de.wikipedia.org/wiki/Wikipedia_Diskussion:Technische_W%C3%BCnsche/Topw%C3%BCnsche/Verschieben_von_Dateien_nach_Commons#Weitere_Anpassungen_der_Dateibeschreibungsseite
- https://de.wikipedia.org/wiki/Wikipedia_Diskussion:Technische_W%C3%BCnsche/Topw%C3%BCnsche/Verschieben_von_Dateien_nach_Commons#Zweiter_Versuch