Index: trunk/extensions/CodeReview/ui/CodeAuthorListView.php |
— | — | @@ -8,10 +8,9 @@ |
9 | 9 | } |
10 | 10 | |
11 | 11 | function execute() { |
12 | | - global $wgOut, $wgLang, $wgRequest; |
| 12 | + global $wgOut, $wgLang; |
13 | 13 | $authors = $this->mRepo->getAuthorList(); |
14 | 14 | $repo = $this->mRepo->getName(); |
15 | | - $hideLinked = $wgRequest->getBool( 'unlinkedonly' ); |
16 | 15 | $text = wfMsg( 'code-authors-text' ) . "\n\n"; |
17 | 16 | $text .= '<strong>' . wfMsg( 'code-author-total', $wgLang->formatNum( $this->mRepo->getAuthorCount() ) ) . "</strong>\n"; |
18 | 17 | |
— | — | @@ -23,18 +22,15 @@ |
24 | 23 | |
25 | 24 | foreach ( $authors as $committer ) { |
26 | 25 | if ( $committer ) { |
| 26 | + $wgOut->addHTML( "<tr><td>" ); |
27 | 27 | $author = $committer["author"]; |
28 | 28 | $text = "[[Special:Code/$repo/author/$author|$author]]"; |
29 | 29 | $user = $this->mRepo->authorWikiUser( $author ); |
30 | 30 | if ( $user ) { |
31 | | - if( $hideLinked ) { |
32 | | - continue; |
33 | | - } |
34 | 31 | $title = htmlspecialchars( $user->getUserPage()->getPrefixedText() ); |
35 | 32 | $name = htmlspecialchars( $user->getName() ); |
36 | 33 | $text .= " ([[$title|$name]])"; |
37 | 34 | } |
38 | | - $wgOut->addHTML( "<tr><td>" ); |
39 | 35 | $wgOut->addWikiText( $text ); |
40 | 36 | $wgOut->addHTML( "</td><td>{$wgLang->timeanddate( $committer['lastcommit'], true )}</td></tr>" ); |
41 | 37 | } |