https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112814
Revision: 112814 Author: nikerabbit Date: 2012-03-01 15:28:04 +0000 (Thu, 01 Mar 2012) Log Message: ----------- Reverted the reversion of r112787 in rr112812 and add the missing continue Modified Paths: -------------- trunk/extensions/Translate/scripts/export.php Modified: trunk/extensions/Translate/scripts/export.php =================================================================== --- trunk/extensions/Translate/scripts/export.php 2012-03-01 15:21:57 UTC (rev 112813) +++ trunk/extensions/Translate/scripts/export.php 2012-03-01 15:28:04 UTC (rev 112814) @@ -109,12 +109,17 @@ foreach ( $groups as $groupId => $group ) { if ( !$group instanceof MessageGroup ) { - STDERR( "Invalid group: " . $groupId ); + STDERR( "Unknown message group $groupId" ); exit( 1 ); } - STDERR( 'Exporting ' . $groupId ); + if ( $group->isMeta() ) { + STDERR( "Skipping meta message group $groupId" ); + continue; + } + STDERR( "Exporting $groupId" ); + $langs = $reqLangs; if ( $threshold ) { $stats = MessageGroupStats::forGroup( $groupId ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs