Commons:Commonist/it

This page is a translated version of a page Commons:Commonist and the translation is 33% complete. Changes to the translation template, respectively the source language can be submitted through Commons:Commonist and have to be approved by a translation administrator.
Outdated translations are marked like this.

(11/2021) Commonist does not work at the moment!
See Commons:Upload tools for alternatives.

L'icona del programma Commonist mostra falce e martello
Commonist 1.10.0 per Linux

Commonist è un software libero scritto in Java per caricare un elevato numero di file in Wikimedia Commons e altre installazioni Wikimedia. Il programma può anche caricare fila in ogni altro wiki, con piccoli adattamenti

Installazione

Installa Java 8 o versione successiva

Per installare Commonist hai bisogno di Java 8 o di una sua versione successiva:

Scaricare e installare Commonist

Maniera più facile

 Esegui Commonist
(Java webstart)

Se il codice non è firmato, dovrai aggiungere un'eccezione.

L'eccezione di sicurezza più specifica che dovresti aggiungere è https://djini.de/commonist/ws/commonist.jnlp ma puoi anche aggiungere il site https://djini.de. Vedi https://java.com/it/download/help/exception_sitelist.html per i dettagli.

Questa è la maniera più facile di accedere a Commonist. Se questo metodo produce un errore di autorizzazioni nel tentativo di caricare immagini, scarica ed esegui Commonist come spiegato di seguito.

Download e installazione

https://www.java.com provides a Java Runtime Environment (JRE) that should be installed on your computer. JRE allows the cross-platform development of Software for Linux, Windows, Mac. Commonist Java Byte Code is executed by the JRE on your operating system.

Windows

  1. Scarica il file binario di Commonist commonist-x.x.x-bin.zip
  2. Estrai il file binario sul desktop. Creerà una cartella commonist-x.x.x (dove le x sono il numero della versione).[1]
  1. Open Start >> run
  1. Digita cmd.exe e premi Invio
  2. Digita chdir C:\
    Questo cambierà la directory in C:\
  1. Find the location of the bin folder in your newly extracted folder.
  1. In the cmd window, change the directory to the folder where you extracted the bin folder. Type cd followed by the location of commonist.bat on your computer.
  1. Type in commonist.bat and press enter.

or

  1. download to C:\Windows and extract there
  2. draw \bin\commonist.bat with right mouse button to desktop and there "linkage"

Unix, Linux o Mac OS X

Scarica commonist-x.x.x.zip da djini.de/commonist/ nella tua cartella /home. Decomprimilo/estrailo. Creerà una nuova cartella commonist-x.x.x (dove le x sostituiscono il numero di versione).

Extracting it from File Roller will not create a folder. So first create a folder named "commonist" (or any name you like) inside your home folder. Then extract there the three folders included (bin, etc, lib). Go inside the bin folder, right click and change the properties of the commonist file to make it executable.

Start Commonist with bin/commonist (After chmod u x bin/commonist this may do). Browse down to the /home/commonist-x.x.x/bin folder and double click on commonist.

Ubuntu Linux:

To hook Commonist to a launcher icon on the top tool bar, firstly right click this icon,   and save as an SVG (not PNG) to Desktop. Now control drag the commonist file found in /home/bin to the tool bar. In the pop-up dialogue, double click on the spring icon, you are asked to choose an icon, navigate to Desktop and select the   hammer & sickle icon.

Desktop Unity in Ubuntu 12.04

Questo desktop presenta ostacoli significativi. Prima di iniziare, crea due nuove cartelle nella tua pagina personale:

  • commonist or sbin/commonist
  • usr- con sottocartelle share/icons

Ti serviranno in seguito.

  • Scarica il file zip ed estrailo in commonist.
  • Copia commonist.svg e salvalo in share/icons
  • Vai in commonist/bin, trova il file commonist, tasto destro- seleziona i per messi di amministrazione e abilitalo come eseguibile.
  • Da Ubuntu Software Centre/Strumenti per sviluppatori/Java, installa l'ambiente di esecuzione Open JDK Java 7 runtime.

You now need to create the launcher. This has been disabled in 12.04. Two packets need to be installed using terminal.

Nel terminale

sudo apt-get install gnome-panel
sudo apt-get install ubuntu-tweak
nautilus -q
Ubuntu-tweak can be downloaded from the link. It hides in /downloads. It is a deb file. Right click, and open and install using Ubuntu Software Center.

Ubuntu Tweak is installed in Apps/Customization. Using Ubuntu-Tweak

  1. Select “Admins” tab, click on the “Scripts” from the Personal category
  2. You will see 2 columns Enabled Scripts and Disabled Scripts
  3. Find “Create Launcher…” in the Disabled Scripts column and drag it to Enabled Scripts column under nautilus-scripts

Back to the terminal

nautilus -q

Go to sbin/commonist. Right click anywhere on the folder and select Scripts -> Create Launcher… from the context menu

The Create Launcher dialog box pops up. Give a name, Commonist, Browse for the file (sbin/commonist), Add the icon (usr/share/icons) and comment if you need. The launcher is created in the sbin/commonist folder.

Drag the launcher to the Unity Launcher and you are done.

Mint 16 (Mate Desktop)

Firstly copy the Commonist.svg icon from this page to your Desktop as a SVG not a PNG. (Right click this icon,  , save page)

Create a /bin/commonist folder in home. Download anywhere commonist-x.x.x-bin.zip from djini.de/software/commonist. Extract it into /bin/commonist.

  • Mint 16: Back to your desktop, right click, create launcher. In the Command dialog box browse through to ./bin/commonist/commonist-x.x.x/commonist, and click the icon to replace it with commonist.svg (where ever that was saved).
  • Mint 16: But, with Mate, you can add this to the menu. right click Menu, Edit Menu. Then Application->Internet and Add item. In the Command dialog box type ./bin/commonist/commonist-x.x.x/commonist, and click the icon to replace it with commonist.svg (where ever that was saved). That bit was easy.

Uso

With the installed version of Commonist:

After Commonist is installed and started a small hammer and sickle icon will pop up.
On Windows:
You will additionally see a terminal window which you can't close while the program is running.
Another window will pop up. Click "continue".
The Commonist program will appear.
 
Main screen of Commonist with filled in forms and images ready for upload

When the Commonist program has started, note in the lower left is a tree view of your file system. Choose the folder which contains the images you want to upload. After you have selected this folder you will notice a small status message at bottom that Commonist is reading the content of the folder. Commonist will display on the right side a preview of each file.

Promoting commonist

Please place {{Commonist}} in the description box before uploading. On the newly created file page, this template will be displayed:

  
This file was uploaded with Commonist.

Alternatively, for uploaders which prefer not to display the icon on their uploads, {{Commonist no icon}} may be used which functions in the same way:

 
This file was uploaded with Commonist.

These templates will not only help promote Commonist but it will place your files into a hidden category named Uploaded with Commonist.

Alternatively, when there's a second piece of information to be shown, one may add a bar like {{Inkscape and Commonist}} or {{Adobe and Commonist}}.

When using {{Image generation}}, the optional parameter $ adds the   uploaded with Commonist box.


Users of Commonist may also place either {{User Commonist}} or {{User Commonist no icon}} on their user page.

General upload settings

In the upper left you see several fields of a mask below the label "general upload settings", on top of which you will find the fields necessary for the account you want to use for upload:

user
In the "user" field type in your user name on the wiki where you want to upload your images. Note that you enter it without the User: prefix.
password
Type in your password for this account there. It will be made invisible to the reader with asterisks (but will be transferred unencrypted over the internet.)
wiki
At the "wiki" drop down menu you can select the wiki where you want to upload the file. In case of Wikimedia Commons choose "commons". Note that within that wiki you need to own the very account you specified above. For a different wiki see Commonist on Other Wikis below.
Further down you can enter general information that will be embedded in the image descriptions of all images you upload. Template:Information is being used for the structured image description (See Commons:First steps for details about the template; in other wikis beside Commons a free form description without the use of a template is being used by Commonist).
description
There you can enter the global description in normal wiki syntax which will be displayed at all image pages of images you upload within that session.
source
Use a statement such as “Own work.” (or, even better, the internationalized {{Own}} template) if you created that file yourself. Otherwise please supply a
  • Link to a website
  • Name of an institution
  • Book source
  • etc.
Note that you can only enter one source for all images you upload at once.
date
Date of creation of the images you want to upload (or date of release if not available), preferably in ISO 8601 format, such as “taken on 2006-01-08” for an image taken on 8 January 2006.
author
Author(s) of the files. If you don’t know any individual, use the name of the institution(s) which released it. In case of self-made work, put your real name and your linked user name in parentheses, such as “John Q. Public ({{u|JQPublic}})”. This will read as “John Q. Public (JQPublic)”. You might as well directly link your real name to the user name such as “[[User:JQPublic|John Q. Public]]”.
categories
Enter one specific category there that fits to all of your images you want to upload without the namespace prefix or leave it blank in case you want to add the images afterwards to a gallery page.

To add several categories, in "categories" write: [[Category:VisualEditor-fr]] [[Category:sambucus ebulus]].
That way you can enter categories containing commas. Be as specific as possible. Don’t add an image to an overcrowded root category like "Astronomy". In order to find a right category for your images the category tree will help you a lot.

license
In Wikimedia Commons it is essential that every file is correctly licensed. So choose out of the "license" the license you want to use for your images. For correct licensing please see Commons:Licensing. In case you did not find the right license leave it blank and have a look at Commons:Copyright tags but don't forget to add the correct license tag afterwards, otherwise your files will be deleted without further notice.

Moduli di immagini

 
Image viewer of Commonist above the main screen

On the top right you see two buttons labeled "deselect all" and "select all". Click these buttons to check/uncheck the upload status of all images in the current collection. The upload status is shown in the upload check box, next to each file thumbnail. You can manually check/uncheck single files, by clicking on the individual check boxes.

Click (single click) on the image thumbnail and the full size image will appear in a separate window. (See the screenshot.)

Next to each thumbnail, you will also find the following form fields:

name
In the "name" field, you type the destination file name of the image. On starting, the local file name will automatically be displayed here and this will be used by default. You are strongly advised to change the local file name into something meaningful. This edit is non destructive. The file name will not be changed on your hard disk, just the destination file name.
Take special note of this, you cannot rename your file once it has been uploaded.
Non-descriptive file names - e. g. names like “DSC123456.jpg”, render them a lot harder to find and use. Also it is very likely that another user will try to upload a file with the very same name but with different content, and that file will be suggested for deletion.
description
In the "description" field, you enter the description of that file. Use normal wiki syntax. This will be displayed on the image page; it will be appended to the general description. Please give a good description of the content of each file. What do you see, hear, or otherwise perceive? If it's an item of artwork, please provide a brief historical background. In case of scientific data, a brief scientific abstract of the file. Descriptions can be in any language, but it is always a good idea to include an English description as well. If you speak multiple languages, consider adding the description in each of them.

(Please use the language templates as described on Commons:Multilinguality, like in this code example for English: "{{en|Example description}}").

permission
Will be filled into the corresponding field in the Template:Information
coordinates
Specify geocoordinates here as comma-separated decimal values to put a Template:Location_dec template on the image description page. Otherwise (i.e. if no two comma separated values are found) the string will be transmitted without changes; this is usefull if you would like to give your own formated geolocation string.
categories
In the "categories" field, you specify additional categories (without the category namespace prefix) separated by a vertical bar or pipe |. Please also try to be as specific as possible. Try to avoid using more than two topic categories per image, they can be added later.

Proxy

Proxy settings are read from Java's system properties http.proxyHost, http.proxyPort and http.nonProxyHosts. If these are not set, the environment variable http_proxy is used.

Caricamento

After you have finished your preparations for the upload click on the "upload" button in the lower right corner of the main window. There is a status bar at the bottom line explaining what Commonist is doing. You can cancel the upload at any time by clicking on "abort" next to the "upload" button. If everything works well, it will display first the login procedure and then the upload status of the single files there. If something went wrong please check if you typed in the correct user name, password and wiki.

Every uploaded file will be added automatically to your watchlist, so that you can always track the changes by others to your files. Every uploaded file also will be added to a personal user gallery located at User:YOUR_USERNAME/gallery, grouped by upload jobs and upload date, with the image description as description of the thumbnail, so that you will automatically have a pleasant overview of all of your uploads.

Copiare e incolla

Mouse right click paste may not work. In Windows use Ctrl v for paste, Ctrl c for copy, Ctrl x for cut, and Delete key for delete. Mouse drag highlighting should work as well as mouse copy from other applications.

Commonist in altre wiki

Requirements:

  1. Only wikis having file upload via api.php enabled are supported.
  2. The wiki must be running MediaWiki 1.16.0 and above (check your version at Special:Version).

Find the wikis.txt file. The wikis.txt file is also found in the bin folder here:

C:\Users\t\Desktop\commonist-0.5.0-src\src\main\resources

A copy of wikis.txt may also be found also in ~/.commonist/wikis.txt

In this wikis.txt file add a line. This line consists of three fields:

  1. Name of the wiki,
  2. language code or "_" and
  3. the url of its api.php.

Kamelopedia, for example, looks like this:

kamelopedia _ http://kamelopedia.mormo.org/api.php

Geolocalizzazione

Geocoding is attaching geographic location information to files uploaded with commonist. If an image includes geocoding in the embedded EXIF data, commonist extracts this data and places a {{Location dec}} template on the file (image) description page.

The best way to geocode your images is with a GPS receiver integrated in your camera or synchronised with a GPS logger on your computer. For those who don't have a GPS but know the location of the camera when the photo was taken there are two ways to geocode your images:

Option 1: Panorado Flyer

This option is for windows users with Google Earth and Panorado Flyer installed only. It's advantage is that you can easily set the camera heading. Search the location in Google Earth and place it in the middle of the screen. Rotate the satellite map so that the viewing direction of the image is equal to the upward direction of the screen. Then right click on your image in Explorer, Panorado Flyer->Get location from Google Earth, OK. Start Commonist and the coordinates text field will be filled automatically.

Opzione 2: Google Maps

An other way to save time is adding a special bookmark to the browser, and locating the position of the camera on a maps.google.com map. When the special bookmark is used, the browser generates geocode tag. This works on Linux and other operating systems.

  • First create a bookmark (on Firefox: Bookmarks>Organise Bookmarks>New Bookmark) with the location as:
    • javascript:void(prompt('',"{{location dec|" gApplication.getMap().getCenter().lat().toFixed(4) "|" gApplication.getMap().getCenter().lng().toFixed(4) "}}"));

For each image:

  • Open Commonist, and select the target image.
  • Load maps.google.com in the browser.
  • Search for the correct location.
  • Click on "Satellite" if it helps to find the location more easily, and zoom in.
  • Double Click on the exact location the media was recorded to zoom and center the map.
  • Click on your bookmark and you'll get a prompt with the geocode tag to add to the image.
  • Press Ctrl-C to copy this tag.
  • Switch to Commonist, click on the description field of the target image, press Ctrl-V to paste the tag.

Bugs and feedback

For sending feedback to the program author please choose one:

  1. GitHub Issue Tracker (preferred)
  2. talk page

Licenza e codice sorgente

Commonist è licenziato sotto la GNU General Public License (articolo di Wikipedia).

Il codice sorgente è disponibile su GitHub.

Vedi anche

  • Image File Migrator – a Python tool that can download files from one wiki and upload them to another.