r45867 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45866‎ | r45867 | r45868 >
Date:08:59, 18 January 2009
Author:nikerabbit
Status:ok
Tags:
Comment:
* Fixed a regression in autoexport
Modified paths:
  • /trunk/extensions/Translate/scripts/autoexport.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/scripts/autoexport.php
@@ -96,7 +96,7 @@
9797 if ( strpos( $row->rc_title, '/' ) !== false ) {
9898 $code = $row->lang;
9999 }
100 - if ( $group && in_array( $group, $groupsFilter ) ) {
 100+ if ( $group && ( !count($groupsFilter) || in_array( $group, $groupsFilter ) ) ) {
101101 if ( $code && !in_array( $code, $skip ) ) {
102102 $exports[$group][$code] = true;
103103 }

Status & tagging log