Manual:InitSiteStats.php/pt-br
| Arquivo do MediaWiki: initSiteStats.php | |
|---|---|
| Localização: | maintenance/ |
| Código-fonte: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| Classes: | InitSiteStats |
initSiteStats.php é um script de manutenção do MediaWiki para reinicializar ou atualizar/regenerar a tabela de site_stats.
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
No MediaWiki versão MediaWiki 1.39 e anteriores, você deve invocar os scripts de manutenção usando
php maintenance/scriptName.php em vez de 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. |