Manual:ShowSiteStats.php/ru
Appearance
| Версия MediaWiki: | ≥ 1.6 |
| Файл MediaWiki: showSiteStats.php | |
|---|---|
| Исходный код: | master • 1.46.0 • 1.45.4 • 1.43.9 |
| Классы: | 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
В MediaWiki версии MediaWiki 1.39 и ранее скрпиты обслуживания нужно вызывать через
php maintenance/scriptName.php, а не через php maintenance/run.php scriptName.