Manual:InitSiteStats.php/ko
Appearance
| 미디어위키 파일: initSiteStats.php | |
|---|---|
| 위치: | maintenance/ |
| 소스 코드: | master • 1.46.0 • 1.45.4 • 1.43.9 |
| 클래스: | InitSiteStats |
initSiteStats.php is a MediaWiki maintenance script to re-initialise or update/regenerate the site_stats table.
It should be run periodically (e.g. weekly) with the --active parameter to update the active users statistic (see also $wgActiveUserDays).
사용법
php maintenance/run.php initSiteStats --update
In MediaWiki version 미디어위키 1.39 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.Script specific parameters
| Option/Parameter | Description |
|---|---|
| --update | Update the existing statistics. |
| --active | Also update active users count. |
| --use-master | Count using the master database. |