From a4698cf20bdc53ccbcddbe0a75e8f9363d9bb084 Mon Sep 17 00:00:00 2001 From: Platonides Date: Thu, 27 May 2010 16:35:59 +0000 Subject: [PATCH] Follow up r65027. Use wfMsgForContent, the message is fully in Content language as we may not have a $wgUser here. --- includes/Article.php | 2 +- includes/UserMailer.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Article.php b/includes/Article.php index c1fc9574e7..781a8f4baa 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2845,7 +2845,7 @@ class Article { ) ) . " "; - # Dissalow watching is user is not logged in + # Disallow watching if user is not logged in if ( $wgUser->isLoggedIn() ) { $form .= " diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 15d5f77b21..d5605fc6b5 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -436,7 +436,7 @@ class EmailNotification { $this->composed_common = true; $summary = ($this->summary == '') ? ' - ' : $this->summary; - $medit = ($this->minorEdit) ? wfMsg( 'minoredit' ) : ''; + $medit = ($this->minorEdit) ? wfMsgForContent( 'minoredit' ) : ''; # You as the WikiAdmin and Sysops can make use of plenty of # named variables when composing your notification emails while -- 2.20.1