Manual:UpdateArticleCount.php/ja

MediaWiki バージョン:
1.6
Category:MediaWiki code/ja#UpdateArticleCount.php

updateArticleCount.php is a maintenance script which updates the article count.

It simply counts the total articles on the wiki and updates the statistics in site_stats table.

オプション

オプション 説明 必須かどうか
--update Update the site_stats table with the new count省略可能
--use-master Count using the primary database省略可能

使用法

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

It will only count the number of articles and output the result, without updating the value.

To update the site statistics table, run the script with the --update option.

Terminal

関連項目

Category:Maintenance scripts/ja#UpdateArticleCount.php Category:Stats maintenance scripts/ja
Category:Maintenance scripts/ja Category:MediaWiki code/ja Category:Stats maintenance scripts/ja