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. You can see that here: http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/api/ApiUpload.php?annotate=92009&pathrev=92009#l473 Second, the 'invalid-session-key' error has been replaced with 'invalid-file-key'. Here is the entire change in code review: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/92009 -Ian _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l