r107809 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r107808‎ | r107809 | r107810 >
Date:09:19, 2 January 2012
Author:nikerabbit
Status:ok
Tags:
Comment:
More fixes to unbreak export.php
Modified paths:
  • /trunk/extensions/Translate/MessageCollection.php (modified) (history)
  • /trunk/extensions/Translate/scripts/export.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/MessageCollection.php
@@ -257,6 +257,7 @@
258258 $this->authors = array();
259259
260260 unset( $this->tags['fuzzy'] );
 261+ $this->reverseMap = null;
261262 }
262263
263264 /**
Index: trunk/extensions/Translate/scripts/export.php
@@ -122,7 +122,7 @@
123123 }
124124
125125 list( $total, $translated, ) = $stats[$code];
126 - if ( $translate/$total < $threshold ) {
 126+ if ( $translated/$total*100 < $threshold ) {
127127 unset( $langs[$index] );
128128 }
129129 }

Status & tagging log