Manual:ShowSiteStats.php/zh
MediaWiki版本: | ≥ 1.6 |
showSiteStats.php | |
---|---|
位置: | maintenance/ |
master • 1.44.0 • 1.43.3 • 1.39.13 | |
ShowSiteStats |
Details
showSiteStats.php file is a maintenance script, to show the cached statistics. It is basically Special:Statistics as a command line tool.
Options
This script does not accept any options.
Usage
php 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.13 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.