Jump to content

Manual:populateRevisionLength.php

From mediawiki.org
This page is a translated version of the page Manual:PopulateRevisionLength.php and the translation is 71% complete.
MediaWiki バージョン:
1.17 – 1.43

詳細

populateRevisionLength.php file is a maintenance script to populate the rev_len and ar_len fields for old revisions created before MW 1.10.

The rev_len and ar_len fields contain the length of the article in bytes after a new revision or deletion.

This script runs by default when you run update.php . It processes 200 items in a batch.

オプション/引数

This script does not take any options or arguments.

使用法

php maintenance/run.php populateRevisionLength
Terminal
MediaWiki バージョン MediaWiki 1.39 以前では、メンテナンス スクリプトを php maintenance/run.php スクリプト名 ではなく php maintenance/スクリプト名.php を使用して実行する必要があります。

関連項目