r111278 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111277‎ | r111278 | r111279 >
Date:07:00, 12 February 2012
Author:siebrand
Status:ok
Tags:
Comment:
Fix fatal in r111272.
Modified paths:
  • /trunk/extensions/Translate/scripts/export.php (modified) (history)
  • /trunk/extensions/Translate/scripts/sync-group.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Translate/scripts/sync-group.php
@@ -45,7 +45,7 @@
4646 exit( 1 );
4747 }
4848
49 -// In case both group and groupprefix would be set, MessageGroups::getMessageGroups
 49+// In case both group and groupprefix would be set, MessageGroups::getGroups
5050 // will give preference to groupIds.
5151 $groupIds = isset( $options['group'] ) ? explode( ',', trim( $options['group'] ) ) : null;
5252 $groupPrefix = isset( $options['groupprefix'] ) ? $options['groupprefix'] : null;
Index: trunk/extensions/Translate/scripts/export.php
@@ -88,11 +88,11 @@
8989
9090 $reqLangs = Cli::parseLanguageCodes( $options['lang'] );
9191
92 -// In case both group and groupprefix would be set, MessageGroups::getMessageGroups
 92+// In case both group and groupprefix would be set, MessageGroups::getGroups
9393 // will give preference to groupIds.
9494 $groupIds = isset( $options['group'] ) ? explode( ',', trim( $options['group'] ) ) : null;
9595 $groupPrefix = isset( $options['groupprefix'] ) ? $options['groupprefix'] : null;
96 -$groups = MessageGroups::getMessageGroups( $groupIds, $groupPrefix );
 96+$groups = MessageGroups::getGroups( $groupIds, $groupPrefix );
9797
9898 if ( !count( $groups ) ) {
9999 STDERR( "No valid message groups identified." );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r111272* Move hard coded styles in MessageWebImporter to CSS....siebrand04:45, 12 February 2012

Status & tagging log