Manual:CleanupUploadStash.php

Removes old or broken uploads from temporary uploaded file storage, cleans up associated database records from the table uploadstash. This script can be used to clean up abandoned files in temporary uploaded file stash.

All files created more than the last n seconds ago as defined by $wgUploadStashMaxAge will stay; older files will be deleted.

Usage
The script does not have any parameters.