Manual:InitSiteStats.php

initSiteStats.php is a maint-scripts>Special:MyLanguage/Manual:Maintenance scripts|MediaWiki maintenance script to re-initialise or update/regenerate the site statistics table.

Usage
php maintenance/initSiteStats.php --update