Bsitu has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/70766


Change subject: Adding support for primary link in notification
......................................................................

Adding support for primary link in notification

Do not merge till 68817 is merged

Change-Id: I3308e3a033279826edae883957e6144e29f58178
---
M GettingStarted.hooks.php
M GettingStarted.i18n.php
2 files changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/GettingStarted 
refs/changes/66/70766/1

diff --git a/GettingStarted.hooks.php b/GettingStarted.hooks.php
index 87ffb18..2dcfe91 100644
--- a/GettingStarted.hooks.php
+++ b/GettingStarted.hooks.php
@@ -314,6 +314,7 @@
                );
 
                $defaults = array(
+                       'primary-link' => array( 'message' => 
'notification-get-started', 'destination' => 'title' ),
                        'category' => 'system',
                        'group' => 'neutral',
                        'title-params' => array( 'agent' ),
diff --git a/GettingStarted.i18n.php b/GettingStarted.i18n.php
index f71cdc3..c4fa664 100644
--- a/GettingStarted.i18n.php
+++ b/GettingStarted.i18n.php
@@ -66,6 +66,7 @@
        'guidedtour-tour-gettingstartedtasktoolbar-edit-section-description' => 
'If you want to edit a specific section, you can click on the blue 
\'{{int:editsection}}\' link at the top of each section.',
 
        // Notifications
+       'notification-get-started' => 'Get started',
        'notification-gettingstarted-start-editing' => '{{SITENAME}} is a free 
encyclopedia written by people like you. [[Special:GettingStarted|Get started]] 
by making your first edit!',
        'notification-gettingstarted-start-editing-email-subject' => 'Get 
started with editing {{SITENAME}}',
        'notification-gettingstarted-start-editing-text-email-body' => 
'{{SITENAME}} is a free encyclopedia written by people like you. Get started by 
making your first edit!
@@ -150,6 +151,7 @@
        'gettingstarted-task-addlinks-toolbar-try-another-title' => 'Used as 
tooltip for the link to try another article for the link-adding task.
 
 The label for the link is 
{{msg-mw|Gettingstarted-task-toolbar-try-another-text}}.',
+       'notification-get-started' => 'Label for button that links to the page 
to get started for editing',
        'notification-gettingstarted-start-editing' => 'Text shown on web when 
someone confirms their email but has not yet edited the main namespace:
 * $1 - username (unused); GENDER is supported',
        'notification-gettingstarted-start-editing-email-subject' => 'Subject 
of email sent when someone confirms their email but has not yet edited the main 
namespace:

-- 
To view, visit https://gerrit.wikimedia.org/r/70766
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3308e3a033279826edae883957e6144e29f58178
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/GettingStarted
Gerrit-Branch: master
Gerrit-Owner: Bsitu <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to