normalised like normal links to special pages
* (bug 21364) External links using link= attribute on images now respect
$wgExternalLinkTarget
+* (bug 17789) Added a note to the total views on Special:Statistics saying that
+ is doesn't count non-existing pages and special pages
=== API changes in 1.17 ===
* (bug 22738) Allow filtering by action type on query=logevent.
'statistics-users-active-desc',
$wgLang->formatNum( $wgActiveUserDays ) );
}
+
private function getGroupStats() {
global $wgGroupPermissions, $wgImplicitGroups, $wgLang, $wgUser;
$sk = $wgUser->getSkin();
}
return $text;
}
+
private function getViewsStats() {
global $wgLang;
return Xml::openElement( 'tr' ) .
Xml::closeElement( 'tr' ) .
$this->formatRow( wfMsgExt( 'statistics-views-total', array( 'parseinline' ) ),
$wgLang->formatNum( $this->views ),
- array ( 'class' => 'mw-statistics-views-total' ) ) .
+ array ( 'class' => 'mw-statistics-views-total' ), 'statistics-views-total-desc' ) .
$this->formatRow( wfMsgExt( 'statistics-views-peredit', array( 'parseinline' ) ),
$wgLang->formatNum( sprintf( '%.2f', $this->edits ?
$this->views / $this->edits : 0 ) ),
array ( 'class' => 'mw-statistics-views-peredit' ) );
}
+
private function getMostViewedPages() {
global $wgLang, $wgUser;
$text = '';
}
return $text;
}
-
+
private function getOtherStats( $stats ) {
global $wgLang;
'statistics-edits' => 'Page edits since {{SITENAME}} was set up',
'statistics-edits-average' => 'Average edits per page',
'statistics-views-total' => 'Views total',
+'statistics-views-total-desc' => 'Views to non-existing pages and special pages are not included',
'statistics-views-peredit' => 'Views per edit',
'statistics-users' => 'Registered [[Special:ListUsers|users]]',
'statistics-users-active' => 'Active users',
'statistics-edits',
'statistics-edits-average',
'statistics-views-total',
+ 'statistics-views-total-desc'
'statistics-views-peredit',
'statistics-users',
'statistics-users-active',