On Oct 8, 2004, at 6:39 AM, Randy McCall wrote:
I've noticed that when $wgWhitelistAccount=array
is enabled,
hyperlinks on the site lose their underlining. The text still
appears in blue (or red for new pages), but the hypertext underlining
only becomes visible to users after they log in. This change takes
place in all browsers I've tested (IE, Netscape, Firefox, Opera).
This doesn't seem to be related to $wgWhitelistAccount or
$wgWhitelistEdit; the styles show with underline off (except on hover)
when not logged in whether it's set or not.
The default user settings for a newly created account have it on, but
for some reason the MonoBook skin code special-cases the not-logged-in
state and doesn't output the style rule. This looks like a bug and will
probably be removed; you can do it manually for now. Edit
SkinPHPTal.php and find this bit:
if($wgUser->getID() != 0) {
if ( 1 == $wgUser->getOption( "underline" ) ) {
$s .= "a { text-decoration: underline; }\n";
} else {
$s .= "a { text-decoration: none; }\n";
}
}
Change it to:
if ( 1 == $wgUser->getOption( "underline" ) ) {
$s .= "a { text-decoration: underline; }\n";
} else {
$s .= "a { text-decoration: none; }\n";
}
-- brion vibber (brion @
pobox.com)