Commons:WikiProject Postcards/Upload
Upload postcards
[edit]There are four ways that you can upload files.
Replace an existing file
[edit]Many postcard files are unfortunately low resolution images. If you have a file with a higher resolution than the SAME existing image, then you can replace the low resolution image by your file. The procedure is as follows :
- Load the File XXXXXXX.jpg that you wish to replace.
- In the section "File history" , click : "Upload a new version of this file"
- In the section "Source filename" give the path and filemane of your replacement file.
- In the section "File description" Describe the changes that your file brings. For example higher resolution image or better quality image
- Click Upload file.
- Your file will replace the existing file.
Uploading a FEW new files
[edit]The default way of uploading a few files at the same time is : Commons:Upload.
This is very practical if :
- All the files have the same author;
- All the files have the same source;
- All the files have the same licence.
You can upload up to 50 files at once.
For each file you will have to provide :
- A title in a a language of your choice (you can give titles in several languages).
- A short discription in a language of your choice (you can give descriptions in several languages).
- A publication date of the image
- The categories that will be assigned to the file.
There is the possibility to copy automatically all the information in the first file to all the other files. (Attention to the checked options before copying !)
Upload MANY new postcards
[edit]A set of postcards will usually have different photographers, different sources and probably need different licences. Commons:Upload allows for this possibilty and you must provide the required information for each file individually. This has to be done "online" and is time consuming and very error-prone.
A much better method is to use Commons:Pattypan.
- This tool scans a folder at your computer that contains all the files you wish to upload and generates a table, which will be saved in a spreadsheet-file.
- Afterwards, and offline, you can complete the table with all metadata, using your office tools (Libre Office, MS Excel, ...).
- When this work is completed, Pattypan can be used to load the table and upload all images from your folder together with their metadata.
For example all 590 images of the Category:Postcards by Erwin Spindler were uploaded this way.
If you have more than 3 or 4 files to upload this tool could become your default method!
Pattypan tutorial
[edit]Put all the files you wish to upload in a folder.
The files should be correctly named and you should verify that they do not already exist in Commons. If a file does exist, and your file is a better copy, then REPLACE the existing file by your copy.
Load Pattypan :
- Pattypan will ask for your identity ; this is your Wikipedia user name and password.
- Click "Generate a spreadsheet" ;
- Select the path to your folder ;
- Click "Next".
Pattypan will propose several default templates. In our case the appropriate template is "Photographe"
- Select the parameters that you will need when uploading to Commons : Source ; Author ; Licence ; Title ; Description ; date. These will be the column titles in the spreadsheet.
- You can fill in some default values. For example, if you are uploading a set of very old postcards you can put :
- {{pd-old-70-1923}} as the default value for "Licence".
- If they are all by the same photographer you can put his name as the default value for "Author". If the author has Wikidata information, you can use a Creator script e.g. {{Creator:Marcel Delboy}}
- For the title and description, if you are going to use a languages other than English, you can put, say {{fr|1= }} and if you are going to use several langues you can put {{fr|1= }};{{de|1= }}. Note they are separed by a semicolon ( ; ).
Click NEXT. Pattypan will create the spreadsheet in your folder.
Open the spreadsheet. The file paths, file names and the default values have been filled in.
An extra column has been added : Categories. NOTE : when you fill in this colum you can put several categories. 'The category names must be separated by a semicolon ( ; ). For example if your file is in Category:XXX , Category:YYYY and in Category:ABC, then you should write : XXX;YYYY;ABC
Take your time to carefully fill in the details for each file.
IMPORTANT : When you save the spreadsheet ALWAYS save it in th ( .xls ) format. It is the most basic spreadsheet format and the only one that Pattypan recognises.
When you have completed filling in the details, open Pattypan and click VERFY and UPLOAD
Choose the path to your spreadshhet. Pattypan will do somme quick chechs and if everything is OK, will upload all the files to Commons.
Upload a HUGE number of postcards
[edit]If you want to upload a huge number of postcards, the tool Commons:VicuñaUploader is very good.
For example over 30.000 images of the Category:Postcards published by Brück & Sohn were uploaded in this way.
Normally, you should start the program and generate a session and upload the files, edit the metadata, and upload the whole work. But you can also save your session as a XML-File. This XML-File can be used as API for a big upload.
If you store all data of your postcards in a database you can generate an XML-file in Vicuña-format and upload a huge number of postcards in Commons.
Category manipulation
[edit]In this project we will often have to modify categories. For example, an existing category, which may contain hundreds of files, has a name which does not conform to the international standard of category names. It is not realistic to change the category of each file one by one.
The tool Cat-a-lot exists and lets you easily change or add new categories to all files in a given category.
In your Preferences, section tools, find Cat-a-lot and add it to your toolbox. The online documentation explains how to use Cat-a-lot.