From b0d0086a4c09fc44d6e6363e884352bd880b7f49 Mon Sep 17 00:00:00 2001 From: niharika29 Date: Thu, 27 Apr 2017 22:00:48 +0000 Subject: [PATCH] Add a primary link to the notification Bug: T163856 Change-Id: Ie8d51b4f0aecb857e8ab95ed15c4d776da7e495f --- LoginNotifyPresentationModel.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/LoginNotifyPresentationModel.php b/LoginNotifyPresentationModel.php index 17fe07f..f3ec6e7 100644 --- a/LoginNotifyPresentationModel.php +++ b/LoginNotifyPresentationModel.php @@ -11,12 +11,14 @@ class LoginNotifyPresentationModel extends EchoEventPresentationModel { } /** - * Nothing really to link to + * Link to help page on mediawiki * - * @return boolean false to disable link + * @return array url to link to */ public function getPrimaryLink() { - return false; + return [ + 'url' => 'https://mediawiki.org/wiki/Help:Login_notifications' + ]; } /**