Manual:populateFilearchiveSha1.php

This page is a translated version of the page Manual:PopulateFilearchiveSha1.php and the translation is 40% complete.
MediaWiki バージョン:
1.21

詳細

populateFilearchiveSha1.php ファイルは、fa_storage_key から fa_sha1 フィールドを計算するメンテナンス スクリプトです。

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/populateFilearchiveSha1.php
Terminal


スクリプトが実行されるたびに、データベース内にメモが作成され、二度と実行されないようになります。 このスクリプトをもう一度実行したい場合は、コマンドに --force オプションを付けて実行してください。

関連項目