Manual:InitSiteStats.php/ru
Appearance
| Файл MediaWiki: initSiteStats.php | |
|---|---|
| Расположение: | maintenance/ |
| Исходный код: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| Классы: | 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/run.php initSiteStats --update
В MediaWiki версии MediaWiki 1.39 и ранее скрпиты обслуживания нужно вызывать через
php maintenance/scriptName.php, а не через 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. |