From 318182299a97edbd1a2bd97576e267fec28da634 Mon Sep 17 00:00:00 2001 From: Stephane Bisson Date: Tue, 29 Sep 2015 09:17:35 -0400 Subject: [PATCH] Add target-page to edit-user-talk to dismiss notification Bug: T112477 Change-Id: I1f3de6b1d271a1245d581c5f6fb246ee23035fb5 --- includes/DiscussionParser.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/DiscussionParser.php b/includes/DiscussionParser.php index a5dab307f..0a2b6755d 100644 --- a/includes/DiscussionParser.php +++ b/includes/DiscussionParser.php @@ -64,7 +64,8 @@ abstract class EchoDiscussionParser { 'revid' => $revision->getID(), 'minoredit' => $revision->isMinor(), 'section-title' => $section['section-title'], - 'section-text' => $section['section-text'] + 'section-text' => $section['section-text'], + 'target-page' => $title->getArticleID(), ), 'agent' => $user, ) );