]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - maintenance/language/StatOutputs.php
MediaWiki 1.16.0
[autoinstallsdev/mediawiki.git] / maintenance / language / StatOutputs.php
index b41278b4cf54cc1397505012b7ae1e915f8356a6..169a4d410101ea6481853732543b956b6c6f7d69 100644 (file)
@@ -32,7 +32,7 @@ class statsOutput {
 class wikiStatsOutput extends statsOutput {
        function heading() {
                global $IP;
-               $version = SpecialVersion::getVersion( $IP );
+               $version = SpecialVersion::getVersion( 'nodb' );
                echo "'''Statistics are based on:''' <code>" . $version . "</code>\n\n";
                echo "'''Note:''' These statistics can be generated by running <code>php maintenance/language/transstat.php</code>.\n\n";
                echo "For additional information on specific languages (the message names, the actual problems, etc.), run <code>php maintenance/language/checkLanguage.php --lang=foo</code>.\n\n";
@@ -72,18 +72,6 @@ class wikiStatsOutput extends statsOutput {
        }
 }
 
-/** Outputs WikiText and appends category and text only used for Meta-Wiki */
-class metawikiStatsOutput extends wikiStatsOutput {
-       function heading() {
-               echo "See [[MediaWiki localisation]] to learn how you can help translating MediaWiki.\n\n";
-               parent::heading();
-       }
-       function footer() {
-               parent::footer();
-               echo "\n[[Category:Localisation|Statistics]]\n";
-       }
-}
-
 /** Output text. To be used on a terminal for example. */
 class textStatsOutput extends statsOutput {
        function element( $in, $heading = false ) {