Index: trunk/extensions/CodeReview/ui/CodeRevisionListView.php |
— | — | @@ -24,6 +24,7 @@ |
25 | 25 | } |
26 | 26 | |
27 | 27 | $this->mAuthor = $wgRequest->getText( 'author' ); |
| 28 | + $this->mStatus = $wgRequest->getText( 'status' ); |
28 | 29 | $this->mAppliedFilter = null; |
29 | 30 | } |
30 | 31 | |
— | — | @@ -348,14 +349,22 @@ |
349 | 350 | $pathQuery |
350 | 351 | ); |
351 | 352 | case 'cr_status': |
| 353 | + $options = $pathQuery; |
| 354 | + if ( $this->mView->mAuthor ) { |
| 355 | + $options['author'] = $this->mView->mAuthor; |
| 356 | + } |
352 | 357 | return $this->mView->skin->link( |
353 | 358 | SpecialPage::getTitleFor( 'Code', $this->mRepo->getName() . '/status/' . $value ), |
354 | 359 | htmlspecialchars( $this->mView->statusDesc( $value ) ), |
355 | 360 | array(), |
356 | | - $pathQuery |
| 361 | + $options |
357 | 362 | ); |
358 | 363 | case 'cr_author': |
359 | | - return $this->mView->authorLink( $value, $pathQuery ); |
| 364 | + $options = $pathQuery; |
| 365 | + if ( $this->mView->mStatus ) { |
| 366 | + $options['status'] = $this->mView->mStatus; |
| 367 | + } |
| 368 | + return $this->mView->authorLink( $value, $options ); |
360 | 369 | case 'cr_message': |
361 | 370 | return $this->mView->messageFragment( $value ); |
362 | 371 | case 'cr_timestamp': |