r52199 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52198‎ | r52199 | r52200 >
Date:14:10, 20 June 2009
Author:siebrand
Status:deferred
Tags:
Comment:
Fix r52198. use correct way to find if fuzzy.
Modified paths:
  • /trunk/extensions/Translate/SpecialTranslations.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/SpecialTranslations.php
@@ -154,7 +154,6 @@
155155 $tableheader .= Xml::element( 'th', null, wfMsg( 'allmessagescurrent' ) );
156156 $tableheader .= Xml::closeElement( 'tr' );
157157
158 -
159158 // Adapted version of TranslateUtils:makeListing() by Nikerabbit
160159 $out = $tableheader;
161160
@@ -185,7 +184,7 @@
186185
187186 $extra = '';
188187
189 - if( $key->hasTag( 'fuzzy' ) ) {
 188+ if( TranslateEditAddons::isFuzzy( $t ) ) {
190189 $class = 'orig';
191190 } else {
192191 $class = 'def';

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r52198Add a different class if message is fuzzysiebrand14:04, 20 June 2009

Status & tagging log