From af37b31b8ac6767161cdb97493e3eda6bf561261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Laxstr=C3=B6m?= Date: Mon, 13 Feb 2017 09:44:13 +0100 Subject: [PATCH] Provide link to compact language links info page Bug: T157344 Change-Id: Ib0d14ee0bdd639c14805412b1754f0f69f6daa63 --- UniversalLanguageSelector.hooks.php | 5 ++++- i18n/en.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/UniversalLanguageSelector.hooks.php b/UniversalLanguageSelector.hooks.php index f4743847..0f430617 100644 --- a/UniversalLanguageSelector.hooks.php +++ b/UniversalLanguageSelector.hooks.php @@ -384,7 +384,10 @@ class UniversalLanguageSelectorHooks { $preferences['compact-language-links'] = [ 'type' => 'check', 'section' => 'rendering/languages', - 'label-message' => 'ext-uls-compact-language-links-preference' + 'label-message' => [ + 'ext-uls-compact-language-links-preference', + 'mediawikiwiki:Special:MyLanguage/Universal_Language_Selector/Compact_Language_Links' + ] ]; } diff --git a/i18n/en.json b/i18n/en.json index 07855544..7af9b75f 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -73,5 +73,5 @@ "apihelp-ulslocalization-example-1": "Get Tamil localization", "apihelp-ulslocalization-example-2": "Get Hindi localization", "prefs-languages": "Languages", - "ext-uls-compact-language-links-preference": "Use a compact language list, with languages relevant to you." + "ext-uls-compact-language-links-preference": "Use a [[$1|compact language list]], with languages relevant to you." }