Fix #7989 : RSS feed sets white background color and may be unreadable
authorAntoine Musso <hashar@users.mediawiki.org>
Sat, 19 May 2007 21:23:44 +0000 (21:23 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Sat, 19 May 2007 21:23:44 +0000 (21:23 +0000)
RELEASE-NOTES
includes/SpecialRecentchanges.php

index 3728326..d93a64a 100644 (file)
@@ -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 ==
 
index 84444e6..b999344 100644 (file)
@@ -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;',
        );