User:Flominator/Flinfo

From TransitWiki
Revision as of 19:09, 2 November 2017 by Mlane97 (talk | contribs) (Created page with "'''[http://wikipedia.ramselehof.de/flinfo.php Flinfo]''' is a tool which provides an already filled out version of Template:Information for a picture at Flickr or othe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Flinfo is a tool which provides an already filled out version of Template:Information for a picture at Flickr or other image repositories.

Usage

  1. Go to Flinfo.
  2. Enter the URL of the picture. If you only know the picture ID (typically some number) and the repository, enter the ID and choose the repository in the drop-down menu.
  3. Click on "Get Info". Flinfo will respond either
    • with some error text if the image could not be found, or is not suitable for the Commons because it is not freely licensed, or, in the case of Flickr, because the Flickr user is on our blacklist. In that case, stop and do not upload the image to the Commons.
    • with an automatically generated image description, ready to be pasted into the (old) upload form at the Commons. In this case, continue.
  4. Click "Download original size" and save the picture to your local hard disk.
  5. Click "Open upload form" (requires that you are logged in at the Commons). Copy the image description from Flinfo into the Commons' upload form.
  6. On the Commons' upload form, select the image you downloaded to your hard disk.
  7. Change the destination file name if necessary.
  8. Check the image description by using "Preview". Change it as appropriate. Trim down very long descriptions, especially if they sound like PR blurbs or advertisements. Check the categories, and if necessary improve them.
  9. Upload the picture.
  10. You're done.
  11. For more help ask at Commons:Help desk or at User talk:Flominator/Flinfo.

Repositories

Flinfo can extract image descriptions for images from

  • Flickr
  • ipernity
  • Panoramio
  • Picasa
  • Mushroom Observer
  • LeMill

and a number of minor other repositories.

For advanced users

Administrators and trusted users

Administrators and trusted users can directly insert a personalized version of Template:Flickrreview. Email or ICQ me for an account!

Input parameters

If you want to have further control of Flinfo's output, you can use one or more of these parameters when calling it:

  • description
  • categories: list of categories the picture should have (separated by semicolons)
  • destfile: upload filename (without .jpg)

Example:

http://wikipedia.ramselehof.de/flinfo.php?id=2986224509&description=oxeye%20daisy&categories=Flowers;Leucanthemum%20vulgare&destfile=some%20random%20picture

Please keep in mind, that setting one of these parameters will prevent Flinfo from taking the information for this field from Flickr.

Source code

Source code is available at https://gitlab.com/flinfo/flinfo under GPL2+.