Podręcznik:ShowSiteStats.php
Appearance
| Wersja MediaWiki: | ≥ 1.6 |
| Plik MediaWiki: showSiteStats.php | |
|---|---|
| Kod źródłowy: | master • 1.45.1 • 1.44.3 • 1.43.6 |
| Klasy: | ShowSiteStats |
Szczegóły
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
W wersji MediaWiki 1.43.6 i we wcześniejszych musisz wywoływać skrypty konserwacyjne poprzez
php maintenance/nazwaSkryptu.php zamiast php maintenance/run.php nazwaSkryptu.