Index: trunk/extensions/CodeReview/CodeReview.php |
— | — | @@ -131,9 +131,6 @@ |
132 | 132 | // Bump the version number every time you change a CodeReview .css/.js file |
133 | 133 | $wgCodeReviewStyleVersion = 7; |
134 | 134 | |
135 | | -// The name of a repo which represents the code running on this wiki, used to highlight active revisions |
136 | | -$wgWikiSVN = ''; |
137 | | - |
138 | 135 | // If you are running a closed svn, fill the following two lines with the username and password |
139 | 136 | // of a user allowed to access it. Otherwise, leave it false. |
140 | 137 | // This is only necessary if using the shell method to access Subversion |
Index: trunk/extensions/CodeReview/codereview.css |
— | — | @@ -134,10 +134,6 @@ |
135 | 135 | color: darkcyan; |
136 | 136 | } |
137 | 137 | |
138 | | -.mw-codereview-live td { |
139 | | - border-color: #33cc99 !important; |
140 | | -} |
141 | | - |
142 | 138 | .mw-wordcloud-size-1, .mw-wordcloud-size-2, |
143 | 139 | .mw-wordcloud-size-3, .mw-wordcloud-size-4, |
144 | 140 | .mw-wordcloud-size-5, .mw-wordcloud-size-6, |
Index: trunk/extensions/CodeReview/ui/SpecialCode.php |
— | — | @@ -228,11 +228,7 @@ |
229 | 229 | |
230 | 230 | // Note: this function is poorly factored in the parent class |
231 | 231 | function formatRow( $row ) { |
232 | | - global $wgWikiSVN; |
233 | 232 | $css = "mw-codereview-status-{$row->cr_status}"; |
234 | | - if ( $this->mRepo->getName() == $wgWikiSVN ) { |
235 | | - $css .= " mw-codereview-" . ( $row-> { $this->getDefaultSort() } <= $this->mCurSVN ? 'live' : 'notlive' ); |
236 | | - } |
237 | 233 | $s = "<tr class=\"$css\">\n"; |
238 | 234 | // Some of this stolen from Pager.php...sigh |
239 | 235 | $fieldNames = $this->getFieldNames(); |
Index: trunk/extensions/CodeReview/ui/CodeReleaseNotes.php |
— | — | @@ -2,7 +2,7 @@ |
3 | 3 | |
4 | 4 | class CodeReleaseNotes extends CodeView { |
5 | 5 | function __construct( $repoName ) { |
6 | | - global $wgRequest, $wgWikiSVN, $IP; |
| 6 | + global $wgRequest, $IP; |
7 | 7 | parent::__construct( $repoName ); |
8 | 8 | $this->mRepo = CodeRepository::newFromName( $repoName ); |
9 | 9 | $this->mPath = htmlspecialchars( trim( $wgRequest->getVal( 'path' ) ) ); |
— | — | @@ -12,10 +12,6 @@ |
13 | 13 | $this->mPath = preg_replace( '/\/$/', '', $this->mPath ); // kill last slash |
14 | 14 | $this->mStartRev = $wgRequest->getIntOrNull( 'startrev' ); |
15 | 15 | $this->mEndRev = $wgRequest->getIntOrNull( 'endrev' ); |
16 | | - # Default start rev to last live one if possible |
17 | | - if ( !$this->mStartRev && $this->mRepo && $this->mRepo->getName() == $wgWikiSVN ) { |
18 | | - $this->mStartRev = SpecialVersion::getSvnRevision( $IP ) + 1; |
19 | | - } |
20 | 16 | } |
21 | 17 | |
22 | 18 | function execute() { |