Manual:showSiteStats.php
MediaWiki version: | ≥ 1.6 |
MediaWiki file: showSiteStats.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.4 • 1.41.5 • 1.39.11 |
Classes: | ShowSiteStats |
Details
editshowSiteStats.php file is a maintenance script, to show the cached statistics. It is basically Special:Statistics as a command line tool.
Options
editThis script does not accept any options.
Usage
editphp maintenance/run.php showSiteStats
Terminal
$ php maintenance/run.php showSiteStats Total edits : 45 Number of articles: 2 Total pages : 13 Number of users : 2 Active users : 5 Number of images : 2
In MediaWiki version 1.39.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.