Alex Monk has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/404161 )
Change subject: EmailNotification: Add newline before minor edit text
......................................................................
EmailNotification: Add newline before minor edit text
Otherwise you get something like this:
"Editor's summary: interwiki fix This is a minor edit"
It's not entirely clear that the editor's summary has ended and the minor edit
text has been added by the software.
Change-Id: Iab79b5f8a1f6f319e9fd284835b7a4e86c3f0394
---
M includes/mail/EmailNotification.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/61/404161/1
diff --git a/includes/mail/EmailNotification.php
b/includes/mail/EmailNotification.php
index 2931d9d..fd0881e 100644
--- a/includes/mail/EmailNotification.php
+++ b/includes/mail/EmailNotification.php
@@ -342,7 +342,7 @@
$keys['$PAGETITLE'] = $this->title->getPrefixedText();
$keys['$PAGETITLE_URL'] = $this->title->getCanonicalURL();
- $keys['$PAGEMINOREDIT'] = $this->minorEdit ?
+ $keys['$PAGEMINOREDIT'] = "\n" . $this->minorEdit ?
wfMessage( 'enotif_minoredit'
)->inContentLanguage()->text() : '';
$keys['$UNWATCHURL'] = $this->title->getCanonicalURL(
'action=unwatch' );
--
To view, visit https://gerrit.wikimedia.org/r/404161
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iab79b5f8a1f6f319e9fd284835b7a4e86c3f0394
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Alex Monk <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits