Make search matches bold only, not red as well
authorAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 23 Oct 2008 14:15:24 +0000 (14:15 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 23 Oct 2008 14:15:24 +0000 (14:15 +0000)
This matches the behavior of Google, Yahoo!, and MSN, probably among others.  The red is unnecessarily aggressive, and looks particularly garish if a match occurs in page titles (with red and blue mixed together).

Note that this was the old behavior of the Simple skin anyway (before my last commit).

RELEASE-NOTES
skins/common/shared.css

index b25ba9e..1a09201 100644 (file)
@@ -174,6 +174,7 @@ The following extensions are migrated into MediaWiki 1.14:
   is not available due to lack of confirmed address or disabled preference
 * Special:Wanted templates special page added to display missing templates
   linked from articles
+* Make search matches bold only, not red as well
 
 === Bug fixes in 1.14 ===
 
index 6c1afdf..c1b4129 100644 (file)
@@ -146,7 +146,6 @@ div.searchdidyoumean {
 }
 
 .searchmatch {
-       color: red;
        font-weight: bold;
 }