From ba201b34a7ac6baec682f4c2ba60e13c333e87b8 Mon Sep 17 00:00:00 2001 From: Rotem Liss Date: Tue, 7 Aug 2007 01:20:20 +0000 Subject: [PATCH] Fixed a display problem in the E-mail part of the preferences page when the E-mail is not confirmed: the notice about it was in the same line as a preference. --- RELEASE-NOTES | 3 +++ includes/SpecialPreferences.php | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 95e9a79e27..18e653d5bc 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -362,6 +362,9 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 10765) img_auth.php will now refuse logged-out requests where $wgWhitelistRead is undefined, instead of (incorrectly) honouring them * Fixed img_auth.php file name extraction for whitelist checking +* Fixed a display problem in the E-mail part of the preferences page when + the E-mail is not confirmed: the notice about it was in the same line as + a preference. == API changes since 1.10 == diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index 2a88117ad9..dc81c301ad 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -558,7 +558,7 @@ class PreferencesForm { $skin = $wgUser->getSkin(); $emailauthenticated = wfMsg('emailnotauthenticated').'
' . $skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Confirmemail' ), - wfMsg( 'emailconfirmlink' ) ); + wfMsg( 'emailconfirmlink' ) ) . '
'; } } else { $emailauthenticated = ''; @@ -566,7 +566,7 @@ class PreferencesForm { } if ($this->mUserEmail == '') { - $emailauthenticated = wfMsg( 'noemailprefs' ); + $emailauthenticated = wfMsg( 'noemailprefs' ) . '
'; } $ps = $this->namespacesCheckboxes(); -- 2.20.1