r111280 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r111279‎ | r111280 | r111281 >
Date:07:06, 12 February 2012
Author:siebrand
Status:ok
Tags:
Comment:
Follow-up r111279: It's a good idae to indicate a class here...
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
@@ -49,7 +49,7 @@
5050 // will give preference to groupIds.
5151 $groupIds = isset( $options['group'] ) ? explode( ',', trim( $options['group'] ) ) : null;
5252 $groupPrefix = isset( $options['groupprefix'] ) ? $options['groupprefix'] : null;
53 -$groups = singleton()->getGroups( $groupIds, $groupPrefix );
 53+$groups = MessageGroups::singleton()->getGroups( $groupIds, $groupPrefix );
5454
5555 if ( !count( $groups ) ) {
5656 STDERR( "ESG2: No valid message groups identified." );
Index: trunk/extensions/Translate/scripts/export.php
@@ -92,7 +92,7 @@
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 = singleton()->getGroups( $groupIds, $groupPrefix );
 96+$groups = MessageGroups::singleton()->getGroups( $groupIds, $groupPrefix );
9797
9898 if ( !count( $groups ) ) {
9999 STDERR( "No valid message groups identified." );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r111279Follow-up r111272:...siebrand07:03, 12 February 2012

Status & tagging log