removed --output=metawiki from maintenance/language/transstat.php; we don't use http...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 26 Dec 2009 15:11:41 +0000 (15:11 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sat, 26 Dec 2009 15:11:41 +0000 (15:11 +0000)
maintenance/language/StatOutputs.php
maintenance/language/transstat.php

index 8110aa7..169a4d4 100644 (file)
@@ -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 ) {
index 73d6374..eeded34 100644 (file)
@@ -35,7 +35,6 @@ Usage: php transstat.php [--help] [--output=csv|text|wiki]
        --output : select an output engine one of:
                * 'csv'      : Comma Separated Values.
                * 'wiki'     : MediaWiki syntax (default).
-               * 'metawiki' : MediaWiki syntax used for Meta-Wiki.
                * 'text'     : Text with tabs.
 Example: php maintenance/transstat.php --output=text
 
@@ -50,9 +49,6 @@ switch ( $options['output'] ) {
        case 'wiki':
                $output = new wikiStatsOutput();
                break;
-       case 'metawiki':
-               $output = new metawikiStatsOutput();
-               break;
        case 'text':
                $output = new textStatsOutput();
                break;