Last modified: 2013-04-22 16:14:58 UTC
1. FlickrChecker should not expose the Flickr API key in the source. 2. It should also be able to handle static.flickr.com URLs. 3. I didn't check when exactly this is called. But note that if you extract the id from the URL, you may get back license information even for malformed URLs. Example: consider the URl http://www.flickr.com/photos/27302612@N03/3087959051 pointing to Marc Benton's CC-BY-NC-SA photo of Randy Orton. Now consider that the user just typed http://www.flickr.com/photos/27302612@N03/30879590, leaving off the last two digits. The URL as a whole is invalid, but unfortunately, 30879590 is also a valid Flickr photo ID, but for a completely different photo by a different user, namely Ben Sutherland's CC-BY photo at http://www.flickr.com/photos/bensutherland/30879590/ 4. If you're already getting the license from Flickr, you could also automatically get the author, description, geolocation, and the file at the largest available resolution. 5. If you want, I could provide the Flinfo PHP sources, where we've already dealt with all that stuff. (And which also can deal with ipernity and panoramio).
Oh, and I forgot another nice feature of Flinfo: it uses the Flickr blacklist at [[:commons:User:FlickreviewR/bad-authors]] to catch freely licensed media from known active flickrwashers. That could also be built into FlickrChecker.
Sounds great. Please post the source and I'll be happy to integrate it. Or feel free to hack on Flickrchecker yourself if you feel inspired. The existing version is very basic and not yet integrated into UploadWizard.
Ok; I've asked the second author of Flinfo whether he'd agree to publishing the sources and licensing them as GPL. If so, I'll post a zip here; otherwise, I may still send you the code privately, so that you can at least see what we did.
Created attachment 8483 [details] Zip file containing the Flinfo 2.3 distribution Ryan, I've posted the Flinfo 2.3 source distribution (License: GPL) as attachment. I hope it's of some use to you guys.
Awesome, thanks Lupo! It may be a while before we get back to this though, as the Flickr integration has been put on a low priority.
Created attachment 8529 [details] Zip file containing the Flinfo 2.4 distribution. Obsoletes earlier 2.3 zip file. Flinfo 2.4 fixes a number of minor bugs, contains a much newer phpFlickr library, and can retrieve information about Picasa images. See the contained "readme" file. License for flinfo is of course still GPL; phpFlickr is LGPL. The Curly.php cURL wrapper contained in ./lib is also LGPL. Maybe it's useful for somebody.
(In reply to comment #5) > Awesome, thanks Lupo! It may be a while before we get back to this though, as > the Flickr integration has been put on a low priority. Asking Kaldari for info Should at the very least surface license info from Flickr.
(In reply to comment #7) > Asking Kaldari for info > > Should at the very least surface license info from Flickr. I trust he'll know what to do with it when such enhancements ever make it into implementation. Flinfo is a tool to extract image information (including license and the stuff I mentioned in the OP) for images stored at other image repositories. It currently supports Flickr, ipernity, panoramio, and Picasa. Flinfo lives at http://wikipedia.ramselehof.de/flinfo.php running actually V2.4a (no phpFlickr library anymore; it's quirky). The newest source is at http://wikipedia.ramselehof.de/flinfo/resources/src/ I just updated the V2.3 zip file here because I found a few bugs shortly after I'd posted it.
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734
There's currently a huge (HUGE) gerrit patch in the works to fix up the Flickr-related code. Check it out: https://gerrit.wikimedia.org/r/#/c/13124/
Looks like we're currently blocked by bug 20512 :(
This is live now for admins on Commons.
Is there any reason only individual photos and personal sets (albums) are supported? Potentially useful sources are: - group pools -- http://www.flickr.com/groups/FOO/pool/ and http://www.flickr.com/groups/FOO/pool/USERID/ - users' lists of favorites -- http://www.flickr.com/photos/USERID/favorites/ - users' photostreams -- http://www.flickr.com/photos/USERID/
Also: - user galleries (albums of photos by many people, curated by a user) -- http://www.flickr.com/photos/USER_ID/galleries/GALLERY_ID/ - user collections (groups of albums) -- http://www.flickr.com/photos/USER_ID/collections/COLLECTION_ID/
Feel free to add these to https://bugzilla.wikimedia.org/show_bug.cgi?id=42964
(In reply to comment #15) > Feel free to add these to > https://bugzilla.wikimedia.org/show_bug.cgi?id=42964 Done, thanks for pointing me to the correct place.