# $PAGEEDITDATE is the time and date of the page change
# expressed in terms of individual local time of the notification
# recipient, i.e. watching user
- $body = str_replace('$PAGEEDITDATE',
- $wgContLang->timeanddate( $this->timestamp, true, false, $timecorrection ),
+ $body = str_replace(
+ array( '$PAGEEDITDATEANDTIME',
+ '$PAGEEDITDATE',
+ '$PAGEEDITTIME' ),
+ array( $wgContLang->timeanddate( $this->timestamp, true, false, $timecorrection ),
+ $wgContLang->date( $this->timestamp, true, false, $timecorrection ),
+ $wgContLang->time( $this->timestamp, true, false, $timecorrection ) ),
$body);
return UserMailer::send($to, $this->from, $this->subject, $body, $this->replyto);
'enotif_body' => 'Dear $WATCHINGUSERNAME,
-The {{SITENAME}} page $PAGETITLE has been $CHANGEDORCREATED on $PAGEEDITDATE by $PAGEEDITOR. $REVINFO
+The {{SITENAME}} page $PAGETITLE has been $CHANGEDORCREATED on $PAGEEDITDATEANDTIME by $PAGEEDITOR. $REVINFO
$NEWPAGE
--
To change your watchlist settings, visit
-{{fullurl:{{ns:special}}:Watchlist/edit}}
+{{fullurl:{{#special:Watchlist}}/edit}}
Feedback and further assistance:
{{fullurl:{{MediaWiki:Helppage}}}}',
'deleted' => '{{Identical|Deleted}}',
'enotif_subject' => '$CHANGEDORCREATED can be one of {{msg|changed}} and {{msg|created}}.',
'enotif_rev_info' => 'Substituted as $REVINFO in {{msg-mw|enotif body|notext=1}}',
-'enotif_body' => '$CHANGEDORCREATED can be one of {{msg-mw|changed}} and {{msg-mw|created}}.',
+'enotif_body' => '$CHANGEDORCREATED can be one of {{msg-mw|changed}} and {{msg-mw|created}}.
+
+$PAGEEDITDATEANDTIME is the date and time of the edit, alternatively
+$PAGEEDITDATE is the date of the edit, and
+$PAGEEDITTIME is the time of the edit.
+',
# Delete
'confirm' => 'Submit button text for protection confirmation