r102244 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102243‎ | r102244 | r102245 >
Date:03:32, 7 November 2011
Author:yaron
Status:deferred
Tags:
Comment:
Replaced wfMsgExt() with wfMsg(), the correct call in this case
Modified paths:
  • /trunk/extensions/Survey/api/ApiQuerySurveys.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Survey/api/ApiQuerySurveys.php
@@ -34,7 +34,7 @@
3535 if ( !( ( isset( $params['ids'] ) && count( $params['ids'] ) > 0 )
3636 XOR ( isset( $params['names'] ) && count( $params['names'] ) > 0 )
3737 ) ) {
38 - $this->dieUsage( wfMsgExt( 'survey-err-ids-xor-names' ), 'ids-xor-names' );
 38+ $this->dieUsage( wfMsg( 'survey-err-ids-xor-names' ), 'ids-xor-names' );
3939 }
4040
4141 $this->addTables( 'surveys' );

Status & tagging log