r22271 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22270‎ | r22271 | r22272 >
Date:21:23, 19 May 2007
Author:hashar
Status:old
Tags:
Comment:
Fix #7989 : RSS feed sets white background color and may be unreadable
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/SpecialRecentchanges.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialRecentchanges.php
@@ -685,12 +685,12 @@
686686 */
687687 function rcApplyDiffStyle( $text ) {
688688 $styles = array(
689 - 'diff' => 'background-color: white;',
690 - 'diff-otitle' => 'background-color: white;',
691 - 'diff-ntitle' => 'background-color: white;',
692 - 'diff-addedline' => 'background: #cfc; font-size: smaller;',
693 - 'diff-deletedline' => 'background: #ffa; font-size: smaller;',
694 - 'diff-context' => 'background: #eee; font-size: smaller;',
 689+ 'diff' => 'background-color: white; color:black;',
 690+ 'diff-otitle' => 'background-color: white; color:black;',
 691+ 'diff-ntitle' => 'background-color: white; color:black;',
 692+ 'diff-addedline' => 'background: #cfc; color:black; font-size: smaller;',
 693+ 'diff-deletedline' => 'background: #ffa; color:black; font-size: smaller;',
 694+ 'diff-context' => 'background: #eee; color:black; font-size: smaller;',
695695 'diffchange' => 'color: red; font-weight: bold; text-decoration: none;',
696696 );
697697
Index: trunk/phase3/RELEASE-NOTES
@@ -71,6 +71,7 @@
7272 * (bug 9332) Fix instructions in tests/README
7373 * (bug 9813) Reject usernames containing '#' to avoid silent truncation
7474 of fragments during the normalisation process
 75+* (bug 7989) RSS feeds content now use black text when using white background.
7576
7677 == MediaWiki API changes since 1.10 ==
7778