Manual:RebuildImages.php/ko
Appearance
| 미디어위키 버전: | ≥ 1.4 |
| 미디어위키 파일: rebuildImages.php | |
|---|---|
| 위치: | maintenance/ |
| 소스 코드: | master • 1.46.0 • 1.45.4 • 1.43.9 |
| 클래스: | ImageBuilder |
상세
rebuildImages.php file is a maintenance script to update metadata records for images that were manually uploaded to the wiki, for example via SFTP.
옵션
| Option | Description | Required |
|---|---|---|
| --missing | Only updates metadata records for images if no records currently exist in the database. | Optional |
| --dry-run | Only reports results and does not update the database with metadata records. | Optional |
사용법
php maintenance/run.php rebuildImages [ --missing| --dry-run ]
Terminal
$ php maintenance/run.php rebuildImages Processing image... Finished image... 2 of 3 rows updated Processing oldimage... Finished oldimage... 0 of 0 rows updated
In MediaWiki version 미디어위키 1.39 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.