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