r24643 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24642‎ | r24643 | r24644 >
Date:06:32, 7 August 2007
Author:raymond
Status:old
Tags:
Comment:
Error messages should be shown in the user preferred language, not the site content language.
Modified paths:
  • /trunk/extensions/Cite/Cite.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Cite/Cite.php
@@ -649,11 +649,11 @@
650650 return
651651 $this->parse(
652652 '<strong class="error">' .
653 - wfMsgforContent( 'cite_error', $id, wfMsgForContent( "cite_error_$id" ) ) .
 653+ wfMsg( 'cite_error', $id, wfMsg( "cite_error_$id" ) ) .
654654 '</strong>'
655655 );
656656 else if ( $id < 0 )
657 - return wfMsgforContent( 'cite_error', $id );
 657+ return wfMsg( 'cite_error', $id );
658658 }
659659
660660 /**

Status & tagging log