Skip to content

Pre-fill desc in Nearby uploads with Wikidata item's label + description #4147

Closed
@misaochan

Description

@misaochan

As mentioned by @SJu-w in #4137

Files uploaded to Commons by the app have a name of the photographed subject just in the filename, but not in the file description ("description" field of the "Information" template). The description field contains just the label of the value of the P31 (instance of) property, which is usually a vague general term.

Example:

See https://commons.wikimedia.org/w/index.php?title=File:Souso%C5%A1%C3%AD_svat%C3%BDch_j%C3%A1hn%C5%AF_Ji%C5%99%C3%ADho_a_Agapita_u_cesty_ke_kostelu_sv._Petra_a_Pavla_v_Mimoni.jpg&oldid=521598789 file title and original file description. The description should be {{cs|1=Sousoší svatých jáhnů Jiřího a Agapita u cesty ke kostelu sv. Petra a Pavla v Mimoni}} but it is {{cs|1=socha}} (= statue) instead.

Solution:

Edit the template which generates the description of photos saved to Commons by the application: "description" field of the "Information" template should be filled with the label of the photographed subject, not with the label of the value of its P31 (instance of) property

Task: If the Wikidata item has a description in the user's language → Pre-fill the picture's description using the Wikidata item's label+description. (example: sculpture of the Holy Deacons of George and Agapit on the way to the Church of St. Peter and Paul in Mimoň (baroque statue in Mimoň, Czech Republic))

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions