매뉴얼:CleanupUploadStash.php
Appearance
Outdated translations are marked like this.
| 미디어위키 버전: | ≥ 1.18 |
| 미디어위키 파일: cleanupUploadStash.php | |
|---|---|
| 위치: | maintenance/ |
| 소스 코드: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| 클래스: | CleanupUploadStash |
세부
cleanupUploadStash.php스크립트는 임시 파일 저장소에서 오래되거나 손상된 업로드를 제거하고 $uploadstash 테이블에 연결된 데이터베이스 레코드를 지웁니다. 이 스크립트는 임시 파일 숨김에있는 버려진 파일을 정리하는 데 사용할 수 있습니다.
All files created less than the last n seconds ago as defined by $wgUploadStashMaxAge will stay; older files will be deleted.
Options/Arguments
This script does not take any options or arguments other than standard command-line options.
용법
php maintenance/run.php cleanupUploadStash
Terminal
$ php maintenance/run.php cleanupUploadStash Getting list of files to clean up... No stashed files to cleanup according to the DB. Deleting old thumbnails... 3 done Deleting orphaned temp files... 7 done
In MediaWiki version 미디어위키 1.39 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.