Commons:Upload Wizard/Fields prefilling
Jump to navigation
Jump to search
It is possible to provide to the Upload Wizard parameters in the URL to set default values for some of the upload fields
The fields that can be passed to the Upload Wizard are:
- caption
- The caption to be used for the image (caption is a term of Structured Data)
- captionlang
- To use a different caption language than the default one; uses a 2 or 3 letters language code, e.g.
en
for English orfur
for Friulian. - description
- The description to be used for the image
- descriptionlang
- see captionlang above
- categories
- List of categories, separated with pipes «
category1|category2
» - lat
- Latitude of the image (interpreted as camera location, not object location)
- lon
- Longitude of the image (interpreted as camera location, not object location)
- alt
- Altitude of the image
- campaign
- The name of the Upload Campaign
- fields[]
- Passing parameters to the upload campaign
- id
- The id field. This is for upload campaigns where it is possible to pass an id (deprecated)
Fields prefilling wizard[edit]
Click this button to set the fields to be prefilled and start the UploadWizard:
Examples of URLs[edit]
See also[edit]
- {{UploadWizardLink}}, to build such a link
- See phab:T35341
- Commons:Wiki Loves Monuments 2012/Upload campaign link, which makes use of this feature