Cleanup for displaying old versions
[lhc/web/wiklou.git] / includes / SpecialStatistics.php
index 983dc89..570a21c 100644 (file)
@@ -4,7 +4,8 @@
  * Special page lists various statistics, including the contents of
  * `site_stats`, plus page view details if enabled
  *
- * @addtogroup SpecialPage
+ * @file
+ * @ingroup SpecialPage
  */
 
 /**
@@ -49,7 +50,7 @@ function wfSpecialStatistics( $par = '' ) {
                        $wgLang->formatNum( $users ),
                        $wgLang->formatNum( $admins ),
                        '[[' . wfMsgForContent( 'grouppage-sysop' ) . ']]', # TODO somehow remove, kept for backwards compatibility
-                       $wgLang->formatNum( sprintf( '%.2f', $admins / $users * 100 ) ),
+                       $wgLang->formatNum( @sprintf( '%.2f', $admins / $users * 100 ) ),
                        User::makeGroupLinkWiki( 'sysop' )
                )."\n";
 
@@ -82,12 +83,11 @@ function wfSpecialStatistics( $par = '' ) {
                                $res->free();
                        }
                }
-               
+
                $footer = wfMsgNoTrans( 'statistics-footer' );
                if( !wfEmptyMsg( 'statistics-footer', $footer ) && $footer != '' )
                        $text .= "\n" . $footer;
-                       
-               $wgOut->addWikiText( $text );           
+
+               $wgOut->addWikiText( $text );
        }
-       
 }