Manual talk:Uploadstash table

From MediaWiki.org
Jump to navigation Jump to search

When are entries removed from this table?[edit]

When are entries in this table supposed to be removed? According to the timestamp I have some entries in there, which are a few days old and some, which are two years old. So:

What are they good for? Are they still needed? --88.130.93.218 19:33, 5 March 2014 (UTC)

It contains information of uncomplete uploads, where the user left the page without choosing an action. You can truncate that table if those entries annoy you, but there's no automated process deleting them. Maybe there's an undocumented Maintenance script for that. --Ciencia Al Poder (talk) 10:23, 6 March 2014 (UTC)
Yes, you were right. There is the maintenance script cleanupUploadStash.php, which had not been documented. I just wrote the documentation and added a note to this very page.
Do you know what the field "us_status" is there for? In my case it always contains the string "finished" - which seems strange when the table contains information on incomplete uploads. Do you have a clou how that is meant? --88.130.104.252 21:02, 9 March 2014 (UTC)