Index: trunk/extensions/CodeReview/ui/CodeRevisionAuthorView.php |
— | — | @@ -13,8 +13,9 @@ |
14 | 14 | } |
15 | 15 | |
16 | 16 | function linkStatus() { |
17 | | - if ( !$this->mUser ) |
| 17 | + if ( !$this->mUser ) { |
18 | 18 | return wfMsg( 'code-author-orphan' ); |
| 19 | + } |
19 | 20 | |
20 | 21 | return wfMsgHtml( 'code-author-haslink', |
21 | 22 | $this->skin->userLink( $this->mUser->getId(), $this->mUser->getName() ) . |
Index: trunk/extensions/CodeReview/ui/CodeRevisionListView.php |
— | — | @@ -374,12 +374,18 @@ |
375 | 375 | return '-'; |
376 | 376 | } |
377 | 377 | case 'cr_path': |
| 378 | + $title = $this->mRepo->getName() . '/path'; |
| 379 | + if( $this->mView->mAuthor ) { |
| 380 | + $title .= '/' . $this->mView->mAuthor; |
| 381 | + } |
| 382 | + |
378 | 383 | return Xml::openElement( 'div', array( 'title' => (string)$value ) ) . |
379 | 384 | $this->mView->skin->link( |
380 | | - SpecialPage::getTitleFor( 'Code', $this->mRepo->getName() . '/path' ), |
381 | | - $wgLang->truncate( (string)$value, 50 ), |
382 | | - array( 'title' => (string)$value ), |
383 | | - array( 'path' => (string)$value ) ) . "</div>"; |
| 385 | + SpecialPage::getTitleFor( 'Code', $title ), |
| 386 | + $wgLang->truncate( (string)$value, 50 ), |
| 387 | + array( 'title' => (string)$value ), |
| 388 | + array( 'path' => (string)$value ) |
| 389 | + ) . "</div>"; |
384 | 390 | } |
385 | 391 | } |
386 | 392 | |