r110361 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110360‎ | r110361 | r110362 >
Date:07:28, 31 January 2012
Author:nikerabbit
Status:ok
Tags:i18nreview 
Comment:
Don't include discouraged groups in aggregate message groups. Causes mismatch of untranslated messages in stats and on the translation view.
Modified paths:
  • /trunk/extensions/Translate/Groups.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/Groups.php
@@ -619,6 +619,10 @@
620620 continue;
621621 }
622622
 623+ if ( MessageGroups::getPriority( $group ) === 'discouraged' ) {
 624+ continue;
 625+ }
 626+
623627 $groups[$id] = $group;
624628 }
625629

Status & tagging log