r66971 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66970‎ | r66971 | r66972 >
Date:16:35, 27 May 2010
Author:platonides
Status:ok
Tags:
Comment:
Follow up r65027. Use wfMsgForContent, the message is fully in Content language as we may not have a $wgUser here.
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)
  • /trunk/phase3/includes/UserMailer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -2845,7 +2845,7 @@
28462846 ) ) .
28472847 "</td>
28482848 </tr>";
2849 - # Dissalow watching is user is not logged in
 2849+ # Disallow watching if user is not logged in
28502850 if ( $wgUser->isLoggedIn() ) {
28512851 $form .= "
28522852 <tr>
Index: trunk/phase3/includes/UserMailer.php
@@ -436,7 +436,7 @@
437437 $this->composed_common = true;
438438
439439 $summary = ($this->summary == '') ? ' - ' : $this->summary;
440 - $medit = ($this->minorEdit) ? wfMsg( 'minoredit' ) : '';
 440+ $medit = ($this->minorEdit) ? wfMsgForContent( 'minoredit' ) : '';
441441
442442 # You as the WikiAdmin and Sysops can make use of plenty of
443443 # named variables when composing your notification emails while

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r65027Fix regression in unwatch links sent out by enotif. {{FULLPAGENAMEE}} happens...demon14:00, 14 April 2010

Status & tagging log