From: Rob Church Date: Mon, 8 Jan 2007 19:42:31 +0000 (+0000) Subject: (bug 6937) Introduce "statistics-footer" message, appended to Special:Statistics X-Git-Tag: 1.31.0-rc.0~54576 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=7b713671601fcec32aff8df3544155d7e6364296;p=lhc%2Fweb%2Fwiklou.git (bug 6937) Introduce "statistics-footer" message, appended to Special:Statistics --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 48ee930fbd..4d2a23ea4f 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -25,6 +25,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN == Changes since 1.9 == * (bug 7292) Fix site statistics when moving pages in/out of content namespaces +* (bug 6937) Introduce "statistics-footer" message, appended to Special:Statistics == Languages updated == diff --git a/includes/SpecialStatistics.php b/includes/SpecialStatistics.php index a5a0fc3a7c..2bce4d4472 100644 --- a/includes/SpecialStatistics.php +++ b/includes/SpecialStatistics.php @@ -76,6 +76,10 @@ function wfSpecialStatistics() { } } + $footer = wfMsg( 'statistics-footer' ); + if( !wfEmptyMsg( 'statistics-footer', $footer ) && $footer != '' ) + $wgOut->addWikiText( $footer ); + } } ?> diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 209d921791..dbd4071f4a 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -1442,6 +1442,7 @@ The [http://meta.wikimedia.org/wiki/Help:Job_queue job queue] length is '''$7''' 'userstatstext' => "There are '''$1''' registered users, of which '''$2''' (or '''$4%''') are $5.", 'statistics-mostpopular' => 'Most viewed pages', +'statistics-footer' => '', 'disambiguations' => 'Disambiguation pages', 'disambiguations-summary' => '',