On 12/27/10 7:47 AM, Guillaume Paumier wrote:
Hi,
Le dimanche 26 décembre 2010 à 14:09 -0800, Brion Vibber a écrit :
I've checked in a quick tweak in r79029 that
adds thumbnail previews of
image files on Special:Upload before you submit the form, in browsers
supporting the HTML 5 FileAPI [1] (such as the current stable releases of
Firefox and Chrome).
Neat :)
Would it require a lot of work to also include these thumbnail previews
to the file selection step of Special:UploadWizard?
Nope. It's designed explicitly so this should be easy. There are
"frontend" and "backend" parts to every upload, that can be mixed and
matched. I would be happy to help anyone who is interested.
HTML5 upload controls can show progress, so we can have real progress
bars instead of just spinners. FileAPI can do things like previews and
we could even implement the Firefogg-style upload-in-multiple-requests
protocol, which might have other advantages.
But so far there's always something else to do that's more important.
For better or worse we prioritized getting basic features to work with
ancient browsers and relatively obscure browsers (and without using
crutches like Flash) over using the cool features of modern ones.
--
Neil Kandalgaonkar (| <neilk(a)wikimedia.org>