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)

I agree that Flinfo would be a solid foundation; my own Flickr2commons uses it as the description generator. I do add my own geolocation box, but you'd do that anyway according to your proposal. A few more ideas: That's all I can think of for now... --Magnus Manske (talk) 13:10, 5 April 2012 (UTC)
 * Make the data and description source handlers generic. Flinfo already supports several sources, but there are also the ones here, and upcoming ones like Europeana.
 * One important source for files are other Wiki(m|p)edia projects, mostly local Wikipedias. I have a tool for that as well, however, parsing Wikitext can be painful :-(
 * Allow adding of a Flickr stream (full or tag-filtered) or set from a user, as I do in flickr_mass.php
 * The upload interface for multiple files could do with some cross-file functions, like "add all these files to a category", or "add a single template to all these files".
 * Not sure if this is done already, but highlight/block upload of all files that already exist on Commons

Maps
Just a heads up about this.

If you make the UploadWizard Extension be able to (optionally) depend on the Maps extension, you're introducing a new extension that isn't reviewed/approved for deployment for WMF usage, and as such would be a large amount of code.

Not wanting to put you off, just wanted to make you aware!

Reedy (talk) 16:48, 5 April 2012 (UTC)