(bug 6937) Introduce "statistics-footer" message, appended to Special:Statistics
authorRob Church <robchurch@users.mediawiki.org>
Mon, 8 Jan 2007 19:42:31 +0000 (19:42 +0000)
committerRob Church <robchurch@users.mediawiki.org>
Mon, 8 Jan 2007 19:42:31 +0000 (19:42 +0000)
RELEASE-NOTES
includes/SpecialStatistics.php
languages/messages/MessagesEn.php

index 48ee930..4d2a23e 100644 (file)
@@ -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 ==
 
index a5a0fc3..2bce4d4 100644 (file)
@@ -76,6 +76,10 @@ function wfSpecialStatistics() {
                        }
                }
                
+               $footer = wfMsg( 'statistics-footer' );
+               if( !wfEmptyMsg( 'statistics-footer', $footer ) && $footer != '' )
+                       $wgOut->addWikiText( $footer );
+               
        }
 }
 ?>
index 209d921..dbd4071 100644 (file)
@@ -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'      => '',