From: Niklas Laxström Date: Sat, 5 Jul 2008 15:15:40 +0000 (+0000) Subject: * Allow grammar X-Git-Tag: 1.31.0-rc.0~46718 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=688705411e6722d88c967c628a9e6fe271eaa230;p=lhc%2Fweb%2Fwiklou.git * Allow grammar --- diff --git a/includes/specials/SpecialEmailuser.php b/includes/specials/SpecialEmailuser.php index 8fc900c05f..e81ef93300 100644 --- a/includes/specials/SpecialEmailuser.php +++ b/includes/specials/SpecialEmailuser.php @@ -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 ) ) ) {