* Allow grammar
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 5 Jul 2008 15:15:40 +0000 (15:15 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Sat, 5 Jul 2008 15:15:40 +0000 (15:15 +0000)
includes/specials/SpecialEmailuser.php

index 8fc900c..e81ef93 100644 (file)
@@ -91,7 +91,7 @@ class EmailUserForm {
                $wgOut->addWikiMsg( "emailpagetext" );
 
                if ( $this->subject === "" ) {
-                       $this->subject = wfMsgForContent( "defemailsubject" );
+                       $this->subject = wfMsgExt( 'defemailsubject', array( 'content', 'parsemag' ) );
                }
 
                $emf = wfMsg( "emailfrom" );
@@ -149,7 +149,8 @@ class EmailUserForm {
                $subject = $this->subject;
 
                // Add a standard footer
-               $this->text = $this->text . "\n ---- \n" . wfMsgForContent( 'emailuserfooter', array( $from->name, $to->name ) );
+               $this->text = $this->text . "\n ---- \n" . wfMsgExt( 'emailuserfooter',
+                       array( 'content', 'parsemag' ), array( $from->name, $to->name ) );
                
                if( wfRunHooks( 'EmailUser', array( &$to, &$from, &$subject, &$this->text ) ) ) {