dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
resourceloader: Remove obsolete msg_resource_links table
[lhc/web/wiklou.git]
/
maintenance
/
showSiteStats.php
diff --git
a/maintenance/showSiteStats.php
b/maintenance/showSiteStats.php
index
49148b3
..
370d14e
100644
(file)
--- a/
maintenance/showSiteStats.php
+++ b/
maintenance/showSiteStats.php
@@
-41,9
+41,9
@@
class ShowSiteStats extends Maintenance {
parent::__construct();
$this->mDescription = "Show the cached statistics";
}
parent::__construct();
$this->mDescription = "Show the cached statistics";
}
+
public function execute() {
$fields = array(
public function execute() {
$fields = array(
- 'ss_total_views' => 'Total views',
'ss_total_edits' => 'Total edits',
'ss_good_articles' => 'Number of articles',
'ss_total_pages' => 'Total pages',
'ss_total_edits' => 'Total edits',
'ss_good_articles' => 'Number of articles',
'ss_total_pages' => 'Total pages',
@@
-65,7
+65,11
@@
class ShowSiteStats extends Maintenance {
// Show them
foreach ( $fields as $field => $desc ) {
// Show them
foreach ( $fields as $field => $desc ) {
- $this->output( sprintf( "%-{$max_length_desc}s: %{$max_length_value}d\n", $desc, $stats->$field ) );
+ $this->output( sprintf(
+ "%-{$max_length_desc}s: %{$max_length_value}d\n",
+ $desc,
+ $stats->$field
+ ) );
}
}
}
}
}
}