From: Antoine Musso Date: Sat, 19 May 2007 21:23:44 +0000 (+0000) Subject: Fix #7989 : RSS feed sets white background color and may be unreadable X-Git-Tag: 1.31.0-rc.0~52858 X-Git-Url: http://git.cyclocoop.org/%22.%24h.%22?a=commitdiff_plain;h=60ff56dd34464a1b20d4dcf55cd2b48248345c56;p=lhc%2Fweb%2Fwiklou.git Fix #7989 : RSS feed sets white background color and may be unreadable --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 372832612a..d93a64a278 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -71,6 +71,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 9332) Fix instructions in tests/README * (bug 9813) Reject usernames containing '#' to avoid silent truncation of fragments during the normalisation process +* (bug 7989) RSS feeds content now use black text when using white background. == MediaWiki API changes since 1.10 == diff --git a/includes/SpecialRecentchanges.php b/includes/SpecialRecentchanges.php index 84444e62c6..b999344521 100644 --- a/includes/SpecialRecentchanges.php +++ b/includes/SpecialRecentchanges.php @@ -685,12 +685,12 @@ function rcFormatDiffRow( $title, $oldid, $newid, $timestamp, $comment ) { */ function rcApplyDiffStyle( $text ) { $styles = array( - 'diff' => 'background-color: white;', - 'diff-otitle' => 'background-color: white;', - 'diff-ntitle' => 'background-color: white;', - 'diff-addedline' => 'background: #cfc; font-size: smaller;', - 'diff-deletedline' => 'background: #ffa; font-size: smaller;', - 'diff-context' => 'background: #eee; font-size: smaller;', + 'diff' => 'background-color: white; color:black;', + 'diff-otitle' => 'background-color: white; color:black;', + 'diff-ntitle' => 'background-color: white; color:black;', + 'diff-addedline' => 'background: #cfc; color:black; font-size: smaller;', + 'diff-deletedline' => 'background: #ffa; color:black; font-size: smaller;', + 'diff-context' => 'background: #eee; color:black; font-size: smaller;', 'diffchange' => 'color: red; font-weight: bold; text-decoration: none;', );