r101987 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101986‎ | r101987 | r101988 >
Date:12:42, 4 November 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Followup r101816: use Html over Xml when possible
Modified paths:
  • /trunk/extensions/Translate/specials/SpecialLanguageStats.php (modified) (history)
  • /trunk/extensions/Translate/specials/SpecialMessageGroupStats.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/specials/SpecialMessageGroupStats.php
@@ -184,7 +184,7 @@
185185 $sort = isset( $this->statemap[$state] ) ? $this->statemap[$state] + 1 : -1;
186186 $out .= "\n\t\t" . $this->table->element( $state, false, $sort );
187187 }
188 - $out .= "\n\t" . Xml::closeElement( 'tr' ) . "\n";
 188+ $out .= "\n\t" . Html::closeElement( 'tr' ) . "\n";
189189 return $out;
190190 }
191191
Index: trunk/extensions/Translate/specials/SpecialLanguageStats.php
@@ -337,7 +337,7 @@
338338 $out .= "\n\t\t" . Html::rawElement( 'td', array(),
339339 $this->table->makeGroupLink( $group, $this->target, $extra ) );
340340 $out .= $this->table->makeNumberColumns( $fuzzy, $translated, $total );
341 - $out .= "\n\t" . Xml::closeElement( 'tr' ) . "\n";
 341+ $out .= "\n\t" . Html::closeElement( 'tr' ) . "\n";
342342 return $out;
343343 }
344344 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r101816Display workflow status in Special:MessageGroupStats if enabled...nikerabbit14:44, 3 November 2011

Status & tagging log