r37111 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37110‎ | r37111 | r37112 >
Date:15:15, 5 July 2008
Author:nikerabbit
Status:old
Tags:
Comment:
* Allow grammar
Modified paths:
  • /trunk/phase3/includes/specials/SpecialEmailuser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialEmailuser.php
@@ -91,7 +91,7 @@
9292 $wgOut->addWikiMsg( "emailpagetext" );
9393
9494 if ( $this->subject === "" ) {
95 - $this->subject = wfMsgForContent( "defemailsubject" );
 95+ $this->subject = wfMsgExt( 'defemailsubject', array( 'content', 'parsemag' ) );
9696 }
9797
9898 $emf = wfMsg( "emailfrom" );
@@ -149,7 +149,8 @@
150150 $subject = $this->subject;
151151
152152 // Add a standard footer
153 - $this->text = $this->text . "\n ---- \n" . wfMsgForContent( 'emailuserfooter', array( $from->name, $to->name ) );
 153+ $this->text = $this->text . "\n ---- \n" . wfMsgExt( 'emailuserfooter',
 154+ array( 'content', 'parsemag' ), array( $from->name, $to->name ) );
154155
155156 if( wfRunHooks( 'EmailUser', array( &$to, &$from, &$subject, &$this->text ) ) ) {
156157

Status & tagging log