From: Robin Pepermans Date: Tue, 30 Aug 2011 18:13:20 +0000 (+0000) Subject: Link content pages and uploaded files to AllPages and FileList respectively X-Git-Tag: 1.31.0-rc.0~28012 X-Git-Url: http://git.cyclocoop.org//%27http:/code.google.com/p/ie7-js//%27?a=commitdiff_plain;h=0dbc61de47361d87288090aeb857a36795b24875;p=lhc%2Fweb%2Fwiklou.git Link content pages and uploaded files to AllPages and FileList respectively --- diff --git a/includes/specials/SpecialStatistics.php b/includes/specials/SpecialStatistics.php index 5def4da587..ffe5b5c053 100644 --- a/includes/specials/SpecialStatistics.php +++ b/includes/specials/SpecialStatistics.php @@ -138,14 +138,16 @@ class SpecialStatistics extends SpecialPage { return Xml::openElement( 'tr' ) . Xml::tags( 'th', array( 'colspan' => '2' ), wfMsgExt( 'statistics-header-pages', array( 'parseinline' ) ) ) . Xml::closeElement( 'tr' ) . - $this->formatRow( wfMsgExt( 'statistics-articles', array( 'parseinline' ) ), + $this->formatRow( Linker::linkKnown( SpecialPage::getTitleFor( 'Allpages' ), + wfMsgExt( 'statistics-articles', array( 'parseinline' ) ) ), $this->getLang()->formatNum( $this->good ), array( 'class' => 'mw-statistics-articles' ) ) . $this->formatRow( wfMsgExt( 'statistics-pages', array( 'parseinline' ) ), $this->getLang()->formatNum( $this->total ), array( 'class' => 'mw-statistics-pages' ), 'statistics-pages-desc' ) . - $this->formatRow( wfMsgExt( 'statistics-files', array( 'parseinline' ) ), + $this->formatRow( Linker::linkKnown( SpecialPage::getTitleFor( 'Filelist' ), + wfMsgExt( 'statistics-files', array( 'parseinline' ) ) ), $this->getLang()->formatNum( $this->images ), array( 'class' => 'mw-statistics-files' ) ); }