On Mon, Mar 31, 2008 at 3:07 PM, Brianna Laugher brianna.laugher@gmail.com wrote:
On 01/04/2008, Magnus Manske magnusmanske@googlemail.com wrote:
Ignoring all that careful planning ;-) I hacked a simple API: http://tools.wikimedia.de/~magnus/commonsapi.php http://tools.wikimedia.de/~magnus/commonsapi.php?image=Sa-warthog.jpg
Wow... So obvious, it didn't even occur to me... of course, put Magnus on the task! He solves it before you've even finished formulating the question...
And all thanks to our friend the almighty caffeine ;-)
Future enhancements could also include attributes per license (link to original license text and logo, need to print the license, mention the author, use the same license again etc.).
Can we please set this up as a serious priority project. version control, multi-contributor environment, (bug tracker?), test sets wikimedia SVN, toolserver or stable toolserver?
I'll make it prettier (code and output) later today. I can also add it to the MediaWiki SVN. Not sure if the toolserver personal SVN would cut it.
For now, I think I've fixed the urlencode issue, and I've also added "location awareness", that is, {{location}} et al are recognized and added to the output; see the end of http://tools.wikimedia.de/~magnus/commonsapi.php?image=ChathamHDY0016.JPG
man, forget the waffle... just code, eh :)
Of course, that strategy runs the risk of actually producing results ;-)
Cheers, Magnus