Manual:InitSiteStats.php/pl

Category:MediaWiki code/pl#InitSiteStats.php

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).

Użycie

php maintenance/run.php initSiteStats --update
In MediaWiki version 1.39.13 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

Script specific parameters

Opcja/ParametrOpis
--updateUpdate the existing statistics.
--activeAlso update active users count.
--use-masterCount using the master database.

Zobacz też

Category:Maintenance scripts/pl#initSiteStats.php Category:Stats maintenance scripts/pl
Category:Maintenance scripts/pl Category:MediaWiki code/pl Category:Stats maintenance scripts/pl