diff --git a/i18n/en.json b/i18n/en.json index 7071c9f..32d16ca 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -30,6 +30,7 @@ "vector-jumptocontent": "Jump to content", "vector-more-actions": "More", "vector-search-loader": "Loading search suggestions", + "vector-intro-page": "Help:Introduction", "vector-anon-user-menu-pages": "Pages for logged out editors", "vector-anon-user-menu-pages-learn": "learn more", "vector-anon-user-menu-pages-label": "Learn more about editing", diff --git a/i18n/qqq.json b/i18n/qqq.json index 7615751..08d07af 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -42,6 +42,7 @@ "vector-jumptocontent": "Accessibility link for jumping to the content and skipping the navigation. Visually hidden by default.", "vector-more-actions": "Label in the Vector skin's menu for the less-important or rarer actions which are not shown as tabs (like moving the page, or for sysops deleting or protecting the page), as well as (for users with a narrow viewing window in their browser) the less-important tab actions which the user's browser is unable to fit in. {{Identical|More}}", "vector-search-loader": "Text to display below search input while the search suggestion module is loading", + "vector-intro-page": "Wiki introduction or tutorial page", "vector-anon-user-menu-pages": "Label describing the anon editor links in the anon user menu", "vector-anon-user-menu-pages-learn": "Lowercase text of link that goes to Help:Introduction and helps the user learn more about editing", "vector-anon-user-menu-pages-label": "Accessible version of 'vector-anon-user-menu-pages' link text, prompts user to learn more about editing", diff --git a/includes/SkinVector.php b/includes/SkinVector.php index 0bc56d6..66bfff3 100644 --- a/includes/SkinVector.php +++ b/includes/SkinVector.php @@ -193,7 +193,7 @@ class SkinVector extends SkinMustache { $learnMoreLinkData = [ 'text' => $this->msg( 'vector-anon-user-menu-pages-learn' )->text(), - 'href' => Title::newFromText( 'Help:Introduction' )->getLocalURL(), + 'href' => Title::newFromText( $this->msg( 'vector-intro-page' )->text() )->getLocalURL(), 'aria-label' => $this->msg( 'vector-anon-user-menu-pages-label' )->text(), ]; $learnMoreLink = $this->makeLink( '', $learnMoreLinkData );