This is one of Magnus' toys. Get the source of this script (SVN: browse/use). New: Next-generation toys!
 For more information, see URL2Commons on meta. Bug reports and feature requests

URL2Commons

This tool can upload files from generic URLs to Wikimedia Commons.
PLEASE only upload files that are under a free license. Thanks!
TUSC login (your user name at Wikimedia Commons)
TUSC password (NOT your Commons password!)
URLs
Enter File URLs above, one per line. Optionally, follow the URL with a space and the new filename. Optionally, follow the new filename (or blank) with a "|" and a description key (see below).
Description
Enter the {{Information}} template, including categories etc. The string "$DESCRIPTOR$" will be replaced with the description key (see above) for each file, e.g., volume numbers, species name etc. "$URL" will automatically be replaced with the respective source URL.