Index: trunk/extensions/CodeReview/backend/CodeRevision.php |
— | — | @@ -420,6 +420,8 @@ |
421 | 421 | |
422 | 422 | $revisionAuthor = $revision->getWikiUser(); |
423 | 423 | |
| 424 | + $revisionCommitSummary = $revision->getMessage(); |
| 425 | + |
424 | 426 | //Add the followup revision author if they have not already been added as a commentor (they won't want dupe emails!) |
425 | 427 | if ( !array_key_exists( $revisionAuthor->getId(), $users ) ) { |
426 | 428 | $users[$revisionAuthor->getId()] = $revisionAuthor; |
— | — | @@ -439,7 +441,9 @@ |
440 | 442 | wfMsgExt( 'codereview-email-subj2', $lang, $this->repo->getName(), |
441 | 443 | $this->getIdString( $row->cr_id ) ), |
442 | 444 | wfMsgExt( 'codereview-email-body2', $lang, $committer, |
443 | | - $this->getIdStringUnique( $row->cr_id ), $url, $this->message, $rowUrl ) |
| 445 | + $this->getIdStringUnique( $row->cr_id ), |
| 446 | + $url, $this->message, |
| 447 | + $rowUrl, $revisionCommitSummary ) |
444 | 448 | ); |
445 | 449 | } |
446 | 450 | } |
Index: trunk/extensions/CodeReview/CodeReview.i18n.php |
— | — | @@ -153,10 +153,12 @@ |
154 | 154 | 'codereview-email-subj2' => '[$1 $2]: Follow-up changes', |
155 | 155 | 'codereview-email-body2' => 'User "$1" made follow-up changes to $2. |
156 | 156 | |
157 | | -Full URL: $3 |
158 | | - |
159 | 157 | Full URL for followed up revision: $5 |
| 158 | +Commit summary: |
160 | 159 | |
| 160 | +$6 |
| 161 | + |
| 162 | +Full URL: $3 |
161 | 163 | Commit summary: |
162 | 164 | |
163 | 165 | $4', |
— | — | @@ -182,7 +184,7 @@ |
183 | 185 | Comment: |
184 | 186 | |
185 | 187 | $6', |
186 | | - |
| 188 | + |
187 | 189 | 'code-stats' => 'statistics', |
188 | 190 | 'code-stats-header' => 'Statistics for repository $1', |
189 | 191 | 'code-stats-main' => 'As of $1, the repository has $2 {{PLURAL:$2|revision|revisions}} by [[Special:Code/$3/author|$4 {{PLURAL:$4|author|authors}}]].', |