手册:initSiteStats.php
Appearance
MediaWiki文件: initSiteStats.php | |
---|---|
位置: | maintenance/ |
源代码: | master • 1.42.1 • 1.41.2 • 1.39.8 |
类: | InitSiteStats |
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 | 更新现有统计数据。 |
--active | 还可以更新活动用户数。 |
--use-master | 使用主数据库进行计数。 |