r41579 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r41578‎ | r41579 | r41580 >
Date:00:04, 3 October 2008
Author:aaron
Status:old (Comments)
Tags:
Comment:
* Add $wgCodeReviewStyleVersion
* Tweak down fixme css
Modified paths:
  • /trunk/extensions/CodeReview/CodeReview.php (modified) (history)
  • /trunk/extensions/CodeReview/SpecialCode.php (modified) (history)
  • /trunk/extensions/CodeReview/codereview.css (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/CodeReview.php
@@ -86,3 +86,4 @@
8787 $wgSubversionProxy = false;
8888 $wgSubversionProxyTimeout = 30; // default 3 secs is too short :)
8989
 90+$wgCodeReviewStyleVersion = 1;
Index: trunk/extensions/CodeReview/codereview.css
@@ -32,19 +32,18 @@
3333 }
3434
3535 .mw-codereview-status-fixme td {
36 - background: #ff0000 !important;;
37 - color: white;
 36+ background: #ff9999 !important;
3837 }
3938 .mw-codereview-status-fixme:hover td {
40 - background: #df0000 !important;;
 39+ background: #df0000 !important;
4140 color: white;
4241 }
4342
4443 .mw-codereview-status-resolved td {
45 - background: #c0ffc0 !important;;
 44+ background: #c0ffc0 !important;
4645 }
4746 .mw-codereview-status-resolved:hover td {
48 - background: #a0dfa0 !important;;
 47+ background: #a0dfa0 !important;
4948 }
5049
5150 /* Diffs */
Index: trunk/extensions/CodeReview/SpecialCode.php
@@ -7,12 +7,12 @@
88 }
99
1010 function execute( $subpage ) {
11 - global $wgOut, $wgRequest, $wgUser, $wgScriptPath;
 11+ global $wgOut, $wgRequest, $wgUser, $wgScriptPath, $wgCodeReviewStyleVersion;
1212
1313 wfLoadExtensionMessages( 'CodeReview' );
1414
1515 $this->setHeaders();
16 - $wgOut->addStyle( "$wgScriptPath/extensions/CodeReview/codereview.css" );
 16+ $wgOut->addStyle( "$wgScriptPath/extensions/CodeReview/codereview.css?$wgCodeReviewStyleVersion" );
1717
1818 if( $subpage == '' ) {
1919 $view = new CodeRepoListView();

Comments

#Comment by Brion VIBBER (talk | contribs)   00:33, 3 October 2008
  • sniff* i liked the evil red ;)

Status & tagging log