| MediaWiki file: initSiteStats.php | |
|---|---|
| Location: | maintenance/ |
| Source code: | master • 1.40.0 • 1.39.4 • 1.35.11 |
| Classes: | 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).
Usage
php maintenance/initSiteStats.php --update
Script specific parameters
| Option/Parameter | Description |
|---|---|
| --update | Update the existing statistics. |
| --active | Also update active users count. |
| --use-master | Count using the master database. |
See also
- Manual:ShowSiteStats.php
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.