Index: trunk/phase3/includes/SpecialContributions.php |
— | — | @@ -138,6 +138,13 @@ |
139 | 139 | |
140 | 140 | $comment = $sk->revComment( $rev ); |
141 | 141 | $d = $wgLang->timeanddate( wfTimestamp( TS_MW, $row->rev_timestamp ), true ); |
| 142 | + |
| 143 | + if( $this->target == 'newbies' ) { |
| 144 | + $userlink = ' . . ' . $sk->userLink( $row->rev_user, $row->rev_user_text ); |
| 145 | + $userlink .= ' (' . $sk->userTalkLink( $row->rev_user, $row->rev_user_text ) . ') '; |
| 146 | + } else { |
| 147 | + $userlink = ''; |
| 148 | + } |
142 | 149 | |
143 | 150 | if( $rev->isDeleted( Revision::DELETED_TEXT ) ) { |
144 | 151 | $d = '<span class="history-deleted">' . $d . '</span>'; |
— | — | @@ -149,7 +156,7 @@ |
150 | 157 | $mflag = ''; |
151 | 158 | } |
152 | 159 | |
153 | | - $ret = "{$d} {$histlink} {$difftext} {$mflag} {$link} {$comment} {$topmarktext}"; |
| 160 | + $ret = "{$d} {$histlink} {$difftext} {$mflag} {$link}{$userlink}{$comment} {$topmarktext}"; |
154 | 161 | if( $rev->isDeleted( Revision::DELETED_TEXT ) ) { |
155 | 162 | $ret .= ' ' . wfMsgHtml( 'deletedrev' ); |
156 | 163 | } |