Manual:initSiteStats.php

From mediawiki.org
This page is a translated version of the page Manual:InitSiteStats.php and the translation is 70% complete.

initSiteStats.php は、site_stats テーブルを再初期化/更新/再生成する MediaWiki のメンテナンス スクリプトです。

It should be run periodically (e.g. weekly) with the --active parameter to update the active users statistic (see also $wgActiveUserDays).

使用法

php maintenance/initSiteStats.php --update

スクリプト固有のパラメーター

オプション/パラメーター 説明
--update Update the existing statistics.
--active Also update active users count.
--use-master Count using the master database.

関連項目