Manuel:ShowSiteStats.php
Appearance
Version de MediaWiki : | ≥ 1.6 |
Fichier MediaWiki : showSiteStats.php | |
---|---|
Emplacement : | maintenance/ |
Code source : | master • 1.43.0 • 1.42.5 • 1.39.11 |
Classes : | ShowSiteStats |
Détails
Le fichier showSiteStats.php est un script de maintenance, pour afficher les statistiques du cache. Il corresponnd principalement à Special:Statistics, comme outil en mode ligne de commande.
Options
Ce script n'a pas d'options.
Utilisation
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.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.