r76724 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76723‎ | r76724 | r76725 >
Date:22:21, 15 November 2010
Author:demon
Status:ok
Tags:
Comment:
Revert r75802 (adding hidden feature to only show unlinked accounts)
Modified paths:
  • /trunk/extensions/CodeReview/ui/CodeAuthorListView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/ui/CodeAuthorListView.php
@@ -8,10 +8,9 @@
99 }
1010
1111 function execute() {
12 - global $wgOut, $wgLang, $wgRequest;
 12+ global $wgOut, $wgLang;
1313 $authors = $this->mRepo->getAuthorList();
1414 $repo = $this->mRepo->getName();
15 - $hideLinked = $wgRequest->getBool( 'unlinkedonly' );
1615 $text = wfMsg( 'code-authors-text' ) . "\n\n";
1716 $text .= '<strong>' . wfMsg( 'code-author-total', $wgLang->formatNum( $this->mRepo->getAuthorCount() ) ) . "</strong>\n";
1817
@@ -23,18 +22,15 @@
2423
2524 foreach ( $authors as $committer ) {
2625 if ( $committer ) {
 26+ $wgOut->addHTML( "<tr><td>" );
2727 $author = $committer["author"];
2828 $text = "[[Special:Code/$repo/author/$author|$author]]";
2929 $user = $this->mRepo->authorWikiUser( $author );
3030 if ( $user ) {
31 - if( $hideLinked ) {
32 - continue;
33 - }
3431 $title = htmlspecialchars( $user->getUserPage()->getPrefixedText() );
3532 $name = htmlspecialchars( $user->getName() );
3633 $text .= " ([[$title|$name]])";
3734 }
38 - $wgOut->addHTML( "<tr><td>" );
3935 $wgOut->addWikiText( $text );
4036 $wgOut->addHTML( "</td><td>{$wgLang->timeanddate( $committer['lastcommit'], true )}</td></tr>" );
4137 }

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r75802Need a way to show unlinked accountsdemon16:54, 1 November 2010

Status & tagging log