On Tue, Jul 12, 2011 at 2:25 PM, Ian Baker <ibaker(a)wikimedia.org> wrote:
I've made a minor API change ApiUpload, for
stashed files. It's not a
commonly used API and the change shouldn't break anything external, but I
figured I should post just in case.
Temporarily stashed files now have their metadata stored in the database
instead of the session. This allows for some future feature expansion with
regard to the image review and categorization process, and works around a
memcached race condition that was preventing simultaneous uploads from
working (see bug 26179<
https://bugzilla.wikimedia.org/show_bug.cgi?id=26179>
)
The actual change to the API is pretty simple. First, the 'sessionkey'
parameter has been superseded by 'filekey', though 'sessionkey' remains
for
compatibility.
Seems to me like this doesn't need any client-visible changes; any objection
to just leaving it labeled as is? It's a key to an 'upload session', so I
wouldn't assume it has any specific relationship to HTTP session cookies...
-- brion