' class="mw-statistics-articles"' ) .
formatRow( wfMsgExt( 'statistics-pages', array( 'parseinline' ) ),
$wgLang->formatNum( $total ),
- ' class="mw-statistics-pages"',
- 'statistics-pages-tooltip' ) .
+ ' class="mw-statistics-pages"' ) .
formatRow( wfMsgExt( 'statistics-files', array( 'parseinline' ) ),
$wgLang->formatNum( $images ),
' class="mw-statistics-files"' ) .
' class="mw-statistics-users"' ) .
formatRow( wfMsgExt( 'statistics-users-active', array( 'parseinline' ) ),
$wgLang->formatNum( $activeUsers ),
- ' class="mw-statistics-users-active"',
- 'statistics-users-active-tooltip' );
+ ' class="mw-statistics-users-active"' );
# Statistic - usergroups
foreach( $wgGroupPermissions as $group => $permissions ) {
* @param float $number a number
* @return string table row in HTML format
*/
-function formatRow( $text, $number, $trExtraParams = '', $tooltip = '' ) {
- global $wgStylePath;
-
- if( $tooltip ) {
- $tooltipText = wfMsg( $tooltip );
- $text = '<div class="mw-tooltip-icon" title="' . $tooltipText . '">' . $text . '<sup><a class="mw-tooptip-icon" title="' . $tooltipText . '"><img alt="' . $tooltipText . '" src="' . $wgStylePath . '/common/images/tooltip_icon.png" width="10" height="12" border="0" /></a></sup></div>';
- }
+function formatRow( $text, $number, $trExtraParams = '' ) {
return "<tr{$trExtraParams}>
<td>" .
'statistics-header-views' => 'View statistics',
'statistics-header-users' => 'User statistics',
'statistics-articles' => 'Content pages',
-'statistics-pages' => 'Pages',
-'statistics-pages-tooltip' => 'All pages in the wiki, including talk pages, redirects, etc.',
+'statistics-pages' => 'Pages <small>(All pages in the wiki, including talk pages, redirects, etc.)</small>',
'statistics-files' => 'Uploaded files',
'statistics-edits' => 'Page edits since {{SITENAME}} was setup',
'statistics-edits-average' => 'Average edits per page',
'statistics-views-peredit' => 'Views per edit',
'statistics-jobqueue' => '[http://www.mediawiki.org/wiki/Manual:Job_queue Job queue] length',
'statistics-users' => 'Registered [[Special:ListUsers|users]]',
-'statistics-users-active' => 'Active users',
-'statistics-users-active-tooltip' => 'Users who have performed an action in the past month',
+'statistics-users-active' => 'Active users <small>(Users who have performed an action in the last month)</small>',
'statistics-mostpopular' => 'Most viewed pages',
'statistics-footer' => '', # do not translate or duplicate this message to other languages
'statistics-header-users',
'statistics-articles',
'statistics-pages',
- 'statistics-pages-tooltip',
'statistics-files',
'statistics-edits',
'statistics-edits-average',
'statistics-jobqueue',
'statistics-users',
'statistics-users-active',
- 'statistics-users-active-tooltip',
'statistics-mostpopular',
'statistics-footer',
),