Added missing line-break in email notification specifically after
page summary or immediately before $PAGEMINOREDIT (for minor edits).
In addition, if the edit is not marked as a "minor edit", avoid the
line break.
Bug: T176595
Change-Id: I68cc249c3546eb7fed0834063f15304e3c245e55
$keys['$PAGETITLE'] = $this->title->getPrefixedText();
$keys['$PAGETITLE_URL'] = $this->title->getCanonicalURL();
- $keys['$PAGEMINOREDIT'] = "\n" . ( $this->minorEdit ?
- wfMessage( 'enotif_minoredit' )->inContentLanguage()->text() : '' );
+ $keys['$PAGEMINOREDIT'] = $this->minorEdit ?
+ "\n\n" . wfMessage( 'enotif_minoredit' )->inContentLanguage()->text() :
+ '';
$keys['$UNWATCHURL'] = $this->title->getCanonicalURL( 'action=unwatch' );
if ( $this->editor->isAnon() ) {