Manual:populateFilearchiveSha1.php

From Linux Web Expert

Revision as of 23:58, 10 February 2024 by imported>Shirayuki (Created page with "== 関連項目 ==")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>">
<translate> ≥</translate> 1.21
<translate> MediaWiki version:</translate>

詳細

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


<translate> Whenever the script runs, it makes a note in the database and will not run again.</translate> <translate> If you want to run the script again, run the command with the <tvar name=1>--force</tvar> option.</translate>

関連項目