User talk:Drecodeam/GSoC 2012 Application

If you're serious about Flickr integration, then by all means consider including Flinfo as an extension into MediaWiki. Flinfo would give you not only proper license detection (and wikified descriptions and geocoding and categories and...) for Flickr images, but also for panoramio, Picasa, ipernity, and a number of other minor repositories out there. Flinfo sources are (L)GPL and are available; see 28731 where to find them. The currently latest version is V2.6a.

For Flickr images, Flinfo even respects the Commons' blacklist at commons:User:FlickreviewR/bad-authors. If exiftool is installed, it can even be configured to extract license info from EXIF/IPTC tags. (For instance, some U.S. government agencies post their stuff as CC-BY-ND or &copy;ARR at Flickr, but the IPTC may say "Copyright:Public domain". See e.g. Flickr image #7002155961.)

For testing, you could even consider querying the live Flinfo without integrating it into MW at all; it has an API that can return JSON or serialized PHP. Examples: Use "&format=json" or "&format=php" to get application-readable output.
 * Human-readable JSON output
 * Human-readable PHP output

In Flinfo, all the API issues (Flickr, Picasa, ipernity, ...) are already solved, as is the transformation into wiki-format. There's no need to reinvent the wheel here.

For a real integration, you'd have to port Flinfo into an MW extension. The server it currently runs on doesn't do HTTPS, only HTTP, and it's not on a *.wiki[mp]edia.org domain, and furthermore I'm not sure it'd stand up to the request volume that was to be expected if it was queried from the Upload Wizard.

Lupo (talk) 08:47, 3 April 2012 (UTC)