Manual:cleanupUploadStash.php
Jump to navigation
Jump to search
MediaWiki file: cleanupUploadStash.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.35.1 • 1.31.12 |
Classes: | UploadStashCleanup |
Details[edit]
The cleanupUploadStash.php script removes old or broken uploads from the temporary file storage and cleans up associated database records from the table uploadstash . This script can be used to clean up abandoned files in the temporary file stash.
All files created less than the last n seconds ago as defined by $wgUploadStashMaxAge
will stay; older files will be deleted.
Usage[edit]
The script accepts those parameters, which are valid for all maintenance scripts (e.g. --dbuser or --dbpass). It does not have own, script-specific parameters.