Chris,

I am having some trouble understanding your proposal, but if I understand correctly, then what you are proposing would be an emulation of how Flickr pictures can be migrated to Wikimedia Commons. Go to Flickr, search for CC pictures which can be reused commercially, then put the link into this tool while you are logged into Wikimedia Commons.
<http://toolserver.org/~bryan/flickr/upload>
If you do this, you can see an existing process. This system could be adapted for NIH.

However, this may or may not be the best system to use. An alternative might be to collect the files directly from NIH and then do a batch upload. If we did that, no new software would need to be developed, it would be easier to apply the metadata, and if we are talking about protein images, we may even be able to set up a bot which either inserts the images into articles or just creates a lot of protein articles with standard text. There would be advantages to what you propose but without knowing more context it is difficult to say what is best.

Related to this - I talked with a team last Friday who want to integrate their database of transporter proteins into Wikipedia. I gave them your contact information, because I know you had already thought of this and it seemed to me like they might want to do some of this work.

yours,




On Sun, Feb 2, 2014 at 4:11 AM, Chris Maloney <voldrani@gmail.com> wrote:
We're considering adding an "upload to wikimedia commons" button for suitably-licensed images on our site, and am wondering where the API for this is documented, and/or if we need to go through an approval process to have our code allowed to do this.  The closest similar thing I can think of is the Wikimedia Commons app (for ios or android) where you set it up once with your username and password, and then it lets you upload images very easily from your phone.

Of course, in this case, it wouldn't be the reader's own work, so there'd have to be some extra metadata we sent along.

Anyway, I can't seem to find the information I need.   The app page is here, https://www.mediawiki.org/wiki/Apps/Commons/Support, but there is no link to the source code -- I'd have thought that it would be open source.

The Commons API pages I can find (https://commons.wikimedia.org/wiki/Commons:APIhttp://tools.wmflabs.org/magnus-toolserver/commonsapi.phphttps://commons.wikimedia.org/wiki/Commons:API/MediaWiki) only describe the read-only side.

Something else I'm not sure about:  would the images be uploaded via the individual user's account, or through our institution's account on Commons?  While I write this, I realize that there is another issue -- we would want to keep track of which images have been uploaded already, and in those cases, the button, rather than causing the upload, should take the user to the already-uploaded image page.  Is anyone else doing something like this?

Can anyone offer some pointers?

Thanks!
Chris Maloney

_______________________________________________
GLAM-US mailing list
GLAM-US@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/glam-us




--
Lane Rasberry
user:bluerasberry on Wikipedia
206.801.0814
lane@bluerasberry.com