r89475 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89474‎ | r89475 | r89476 >
Date:20:21, 4 June 2011
Author:ialex
Status:resolved (Comments)
Tags:
Comment:
Added missing $PAGEEDITTIME replacement for impersonal mails
Modified paths:
  • /trunk/phase3/includes/UserMailer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/UserMailer.php
@@ -658,9 +658,11 @@
659659
660660 $body = str_replace(
661661 array( '$WATCHINGUSERNAME',
662 - '$PAGEEDITDATE' ),
 662+ '$PAGEEDITDATE',
 663+ '$PAGEEDITTIME' ),
663664 array( wfMsgForContent( 'enotif_impersonal_salutation' ),
664 - $wgContLang->timeanddate( $this->timestamp, true, false, false ) ),
 665+ $wgContLang->timeanddate( $this->timestamp, true, false, false ),
 666+ $wgContLang->time( $this->timestamp, true, false, $timecorrection ) ),
665667 $this->body );
666668
667669 return UserMailer::send( $addresses, $this->from, $this->subject, $body, $this->replyto );

Follow-up revisions

RevisionCommit summaryAuthorDate
r89476Fix for r89475: let's make this correctlyialex20:27, 4 June 2011

Comments

#Comment by 😂 (talk | contribs)   23:12, 4 June 2011

Every time I see this I cry a little bit inside.

Status & tagging log