Jump to content

Manual:initEditCount.php

From mediawiki.org
This page is a translated version of the page Manual:InitEditCount.php and the translation is 69% complete.
MediaWiki バージョン:
1.8

詳細

initEditCount.php ファイルは、revision テーブルの行数に基づいて user_editcount データベース フィールドを初期化する保守スクリプトです。

オプション

オプション 説明 必須かどうか
--quick Force the update to be done in a single query 省略可能
--background Force replication-friendly mode 省略可能

Background mode will be automatically used if multiple servers are listed in the load balancer, usually indicating a replication environment. This avoids locking tables or lagging replica databases with large updates.


使用法

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

関連項目