From: Rob Church Date: Wed, 22 Aug 2007 08:07:48 +0000 (+0000) Subject: * Fix "most viewed" heading X-Git-Tag: 1.31.0-rc.0~51698 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=bbdafeb264521c6a2be182a006409e53ee90e105;p=lhc%2Fweb%2Fwiklou.git * Fix "most viewed" heading * Fix images in list --- diff --git a/includes/SpecialStatistics.php b/includes/SpecialStatistics.php index a2fd64537e..9358c0bc4f 100644 --- a/includes/SpecialStatistics.php +++ b/includes/SpecialStatistics.php @@ -1,6 +1,8 @@ numRows() > 0 ) { - $text .= '==' . wfMsg( 'statistics-mostpopular' ) . "==\n"; + $text .= "\n==" . wfMsg( 'statistics-mostpopular' ) . "==\n"; while( $row = $res->fetchObject() ) { $title = Title::makeTitleSafe( $row->page_namespace, $row->page_title ); if( $title instanceof Title ) - $text .= '* [[' . $title->getPrefixedText() . ']] (' . $wgLang->formatNum( $row->page_counter ) . ")\n"; + $text .= '* [[:' . $title->getPrefixedText() . ']] (' . $wgLang->formatNum( $row->page_counter ) . ")\n"; } $res->free(); }