From 24af454015e2ae171a954240ea930afc6b1b19fa Mon Sep 17 00:00:00 2001 From: Dayllan Maza Date: Wed, 26 Jun 2019 15:55:11 -0400 Subject: [PATCH] Change Special:Mute link on email footer to be in plain text Emails from Special:EmailUser are in plain text. The old link was an html tag and it was not being displayed properly. Bug: T218265 Change-Id: Id5f3b8e3a549c06010e41b5a6f10eb46c5d00a40 --- includes/specials/SpecialEmailUser.php | 2 +- languages/i18n/en.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/specials/SpecialEmailUser.php b/includes/specials/SpecialEmailUser.php index 122fa9b7c6..b42cdea08a 100644 --- a/includes/specials/SpecialEmailUser.php +++ b/includes/specials/SpecialEmailUser.php @@ -381,7 +381,7 @@ class SpecialEmailUser extends UnlistedSpecialPage { 'specialmute-email-footer', $specialMutePage->getCanonicalURL(), $context->getUser()->getName() - ); + )->inContentLanguage()->text(); } // Check and increment the rate limits diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 244b281bdd..e33e9bdc7c 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -4204,7 +4204,7 @@ "specialmute-error-invalid-user": "The username requested could not be found.", "specialmute-error-email-blacklist-disabled": "Muting users from sending you emails is not enabled.", "specialmute-error-email-preferences": "You must confirm your email address before you can mute a user. You may do so from [[Special:Preferences]].", - "specialmute-email-footer": "[$1 Manage email preferences for {{BIDI:$2}}.]", + "specialmute-email-footer": "To manage email preferences for {{BIDI:$2}} please visit <$1>.", "specialmute-login-required": "Please log in to change your mute preferences.", "revid": "revision $1", "pageid": "page ID $1", -- 2.20.1