http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72176
Revision: 72176
Author: siebrand
Date: 2010-09-01 23:14:06 +0000 (Wed, 01 Sep 2010)
Log Message:
-----------
Fix broken r72101. Class needs to be at the top of the file.
Modified Paths:
--------------
trunk/extensions/Translate/scripts/groupStatistics.php
Modified: trunk/extensions/Translate/scripts/groupStatistics.php
===================================================================
--- trunk/extensions/Translate/scripts/groupStatistics.php 2010-09-01
23:07:26 UTC (rev 72175)
+++ trunk/extensions/Translate/scripts/groupStatistics.php 2010-09-01
23:14:06 UTC (rev 72176)
@@ -176,6 +176,24 @@
$optionsWithArgs = array( 'groups', 'output', 'skiplanguages', 'legenddetail',
'legendsummary' );
require( dirname( __FILE__ ) . '/cli.inc' );
+/**
+ * @todo Needs documentation.
+ * @ingroup Stats
+ */
+class TranslateStatsOutput extends wikiStatsOutput {
+ function heading() {
+ echo '{| class="sortable wikitable" border="2" cellpadding="4"
cellspacing="0" style="background-color: #F9F9F9; border: 1px #AAAAAA solid;
border-collapse: collapse; clear:both;" width="100%"' . "\n";
+ }
+
+ function summaryheading() {
+ echo "\n" . '{| class="sortable wikitable" border="2"
cellpadding="4" cellspacing="0" style="background-color: #F9F9F9; border: 1px
#AAAAAA solid; border-collapse: collapse; clear:both;"' . "\n";
+ }
+
+ function addFreeText( $freeText ) {
+ echo $freeText;
+ }
+}
+
if ( isset( $options['help'] ) ) {
showUsage();
}
@@ -647,21 +665,3 @@
STDERR( $msg );
exit( 1 );
}
-
-/**
- * @todo Needs documentation.
- * @ingroup Stats
- */
-class TranslateStatsOutput extends wikiStatsOutput {
- function heading() {
- echo '{| class="sortable wikitable" border="2" cellpadding="4"
cellspacing="0" style="background-color: #F9F9F9; border: 1px #AAAAAA solid;
border-collapse: collapse; clear:both;" width="100%"' . "\n";
- }
-
- function summaryheading() {
- echo "\n" . '{| class="sortable wikitable" border="2"
cellpadding="4" cellspacing="0" style="background-color: #F9F9F9; border: 1px
#AAAAAA solid; border-collapse: collapse; clear:both;"' . "\n";
- }
-
- function addFreeText( $freeText ) {
- echo $freeText;
- }
-}
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs