r65884 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65883‎ | r65884 | r65885 >
Date:22:07, 3 May 2010
Author:siebrand
Status:deferred
Tags:
Comment:
Fix parse error and update indentation
Modified paths:
  • /trunk/extensions/Translate/SpecialLanguageStats.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/SpecialLanguageStats.php
@@ -146,17 +146,20 @@
147147 $out = wfMsgExt( 'languagestats-stats-for', array( 'parse', 'replaceafter' ), $languageName, $rcInLangLink );
148148
149149 # Create table header
150 - $out .= Xml::openElement( 'table', array(
151 - 'class' => "sortable wikitable",
152 - 'border' => '2',
153 - 'cellpadding' => '4',
154 - 'cellspacing' => '0',
155 - 'style' => "background-color: #F9F9F9; border: 1px #AAAAAA solid; border-collapse: collapse; clear:both;",
156 - 'width' => "100%"
 150+ $out .= Xml::openElement(
 151+ 'table',
 152+ array(
 153+ 'class' => "sortable wikitable",
 154+ 'border' => '2',
 155+ 'cellpadding' => '4',
 156+ 'cellspacing' => '0',
 157+ 'style' => "background-color: #F9F9F9; border: 1px #AAAAAA solid; border-collapse: collapse; clear:both;",
 158+ 'width' => "100%"
 159+ )
157160 );
158161 $out .= Xml::openElement( 'tr' );
159162 $out .= Xml::element( 'th', null, wfMsg( 'translate-page-group' ) );
160 - $out .= Xml::element( 'th' null, wfMsg( 'translate-total' ) );
 163+ $out .= Xml::element( 'th', null, wfMsg( 'translate-total' ) );
161164 $out .= Xml::element( 'th', null, wfMsg( 'translate-untranslated' ) );
162165 $out .= Xml::element( 'th', null, wfMsg( 'translate-percentage-complete' ) );
163166 $out .= Xml::element( 'th', null, wfMsg( 'translate-percentage-fuzzy' ) );
@@ -235,7 +238,7 @@
236239 );
237240
238241 if( $translated == $total ) {
239 - $queryParameters['task'] = 'reviewall';
 242+ $queryParameters['task'] = 'reviewall';
240243 }
241244
242245 $groupLabel = $g->getLabel();

Status & tagging log