From mediawiki.org
This page is a translated version of the page Manual:InitSiteStats.php and the translation is 50% complete.

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/initSiteStats.php --update

Script specific parameters

Opcja/Parametr Opis
--update Update the existing statistics.
--active Also update active users count.
--use-master Count using the master database.

Zobacz też