Last modified: 2006-06-22 01:41:19 UTC
From includes/SpecialPreferences.php, lines 694-701: if ($wgAllowRealName || $wgEnableEmail) { $wgOut->addHTML("<div class='prefsectiontip'>"); $rn = $wgAllowRealName ? wfMsg('prefs-help-realname') : ''; $em = $wgEnableEmail ? '<br />' . wfMsg('prefs-help-email') : ''; $wgOut->addHTML( $rn . $em . '</div>'); } When $wgAllowRealName is set to false and $wgEnableEmail is set to true, as it is on (at least to my knowledge) the English Wikipedia and (I know for a fact) on the Homestar Runner wiki (http://hrwiki.org), the leading <br /> makes the pink prefsectiontip div look odd. This occurs in both 1.6.7 and 1.7-svn.
Created attachment 1997 [details] adds a variable that enables the '<br />' to only display if both $wgAllowRealName and $wgEnableEmail are set to true This patch fixes both REL1_6 and 1.7-svn.
Patch tested and confirmed to work on both 1.6.7 and 1.7-svn.
Fixed in SVN trunk, r14894. Didn't use the supplied patch, but thanks.