From b3c52d88b754efd1c0143af641401e79a9048f26 Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Sat, 6 Jan 2007 23:19:33 +0000 Subject: [PATCH] Roll back workaround for Firefox link underlining: I realized that Foo is not necessarily supposed to display the same as Foo, so there will be double-underlining or similar bad stuff in some cases. Mozilla has to fix this one. --- RELEASE-NOTES | 6 ++---- includes/Skin.php | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 2eccfbc686..0859d34c71 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -462,10 +462,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 8330) Show "bytes" suffix on recent changes diff counter * (bug 8489) Support basic links in caption attribute * (bug 8485) Correct Lingala number formatting -* When links are underlined, the entire link text should be underlined, even - if it contains elements with a background color set. -* The MediaWiki namespace is no longer pre-filled with default messages on - install. All default messages will be removed from the MediaWiki namespace +* The MediaWiki namespace is no longer pre-filled with default messages on + install. All default messages will be removed from the MediaWiki namespace on upgrade. * Recentchanges RSS/Atom feeds now use a separate message for the description to avoid cluttering it with useless wiki formatting diff --git a/includes/Skin.php b/includes/Skin.php index 2eef17e8c2..662e229231 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -460,7 +460,7 @@ var wgAjaxWatch = { $s = ''; if (($undopt = $wgUser->getOption("underline")) != 2) { $underline = $undopt ? 'underline' : 'none'; - $s .= "a, a * { text-decoration: $underline; }\n"; + $s .= "a { text-decoration: $underline; }\n"; } if( $wgUser->getOption( 'highlightbroken' ) ) { $s .= "a.new, #quickbar a.new { color: #CC2200; }\n"; -- 2.20.1