User:Bryan/Stashed upload meta data storage

Currently metadata for stashed (temporary) uploads (those that show warnings) is stored within the $_SESSION superglobal. This means that it is very hard to keep track of those stashed uploads. Moreover, when the session expires, the metadata is lost, whereas the files themselves linger on the filesystem eternally. It is proposed that this metadata is instead stored in the database.

This will allow changes in workflow, but also enable features like mass-upload and upload via FTP.