X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FUserMailer.php;h=8ab10b2d1a56d0f0b9d060075e0cf9d6511846fe;hb=99362c6add2e96333e6b428a7ec651c860c90fbd;hp=0c880d6f2a51fad6c6bd9c8ddc8f5fa482ef7e7a;hpb=98c7138c3b079beef79ad34711bb2fece0f5d809;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/UserMailer.php b/includes/UserMailer.php index 0c880d6f2a..8ab10b2d1a 100644 --- a/includes/UserMailer.php +++ b/includes/UserMailer.php @@ -751,14 +751,17 @@ class EmailNotification { # Replace this after transforming the message, bug 35019 $postTransformKeys['$PAGESUMMARY'] = $this->summary == '' ? ' - ' : $this->summary; - # Now build message's subject and body - # Give grep a chance to find the usages: enotif_subject_deleted, enotif_subject_created, - # enotif_subject_moved, enotif_subject_restored, enotif_subject_changed + // Now build message's subject and body + + // Messages: + // enotif_subject_deleted, enotif_subject_created, enotif_subject_moved, + // enotif_subject_restored, enotif_subject_changed $this->subject = wfMessage( 'enotif_subject_' . $this->pageStatus )->inContentLanguage() ->params( $pageTitle, $keys['$PAGEEDITOR'] )->text(); - # Give grep a chance to find the usages: enotif_body_intro_deleted, enotif_body_intro_created, - # enotif_body_intro_moved, enotif_body_intro_restored, enotif_body_intro_changed + // Messages: + // enotif_body_intro_deleted, enotif_body_intro_created, enotif_body_intro_moved, + // enotif_body_intro_restored, enotif_body_intro_changed $keys['$PAGEINTRO'] = wfMessage( 'enotif_body_intro_' . $this->pageStatus ) ->inContentLanguage()->params( $pageTitle, $keys['$PAGEEDITOR'], $pageTitleUrl ) ->text();