Hi, Lane,

Yes, that's pretty close.  I just tried out that tool and it is nice, but it seems like way too many steps -- the mobile app is much cleaner and easier for the end user, so I'm hoping we can do something like it.

A couple of notes:
* Daniel thinks that there are too many images in our open access subset, and that we should not try to upload them all.  Most of them would not be of any value for reuse.
* I guess we could try to batch upload subsets, but I think it would be daunting to try to write an algorithm to determine which ones have value and which don't
* So we're thinking of putting the button on the (journal) article pages, so that it's easy for WP editors to get images for (WP) articles as they're working on them,
* We'd only show the button for suitably licensed images
* I think it would probably be just as easy to apply our metadata in this scenario as for any batch-upload scenario (but that's a guess).

So, thanks for the link to the flickr upload bot -- it looks like a good starting point, and I'll get in touch with Bryan with my questions.

Chris


On Sun, Feb 2, 2014 at 10:24 AM, Lane Rasberry <lane@bluerasberry.com> wrote:
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.


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

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