Manual:PopulateFilearchiveSha1.php/ko
Appearance
이 기능은 버전 MediaWiki 1.43에서 완전히 제거되었습니다. |
| 미디어위키 버전: | 1.21 – 1.43 |
| 미디어위키 파일: populateFilearchiveSha1.php | |
|---|---|
| 위치: | maintenance/ |
| 소스 코드: | master • 1.46.2 • 1.45.6 • 1.43.11 |
| 클래스: | PopulateFilearchiveSha1 |
Details
populateFilearchiveSha1.php file is a maintenance script to populate the fa_sha1 field from fa_storage_key.
The fa_sha1 field in the filearchive database table is used to store sha1 hash of file content, encoded in base 36.
This field stores pure sha1 whereas fa_storage_key stores sha1 with extension of file.
This script runs by default when you run update.php.
Options/Arguments
This script does not take any options or arguments.
Usage
php maintenance/run.php populateFilearchiveSha1
Terminal
$ php maintenance/run.php populateFilearchiveSha1 Populating fa_sha1 field from fa_storage_key Done 2 files in 0.7 seconds
Whenever the script runs, it makes a note in the database and will not run again. If you want to run the script again, run the command with the --force option.
In MediaWiki version 미디어위키 1.39 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.