From 688705411e6722d88c967c628a9e6fe271eaa230 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sat, 5 Jul 2008 15:15:40 +0000 Subject: [PATCH] * Allow grammar --- includes/specials/SpecialEmailuser.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 ) ) ) { -- 2.20.1