Index: trunk/extensions/CodeReview/CodeReview.i18n.php |
— | — | @@ -126,6 +126,8 @@ |
127 | 127 | 'codereview-email-subj2' => '[$1] [$2]: Follow-up changes', |
128 | 128 | 'codereview-email-body2' => 'User "$1" made follow-up changes to $2. |
129 | 129 | |
| 130 | +Full URL for followed up revision: $5 |
| 131 | + |
130 | 132 | Full URL: $3 |
131 | 133 | |
132 | 134 | Commit summary: |
Index: trunk/extensions/CodeReview/backend/CodeRevision.php |
— | — | @@ -341,6 +341,9 @@ |
342 | 342 | $revision = CodeRevision::newFromRow( $row ); |
343 | 343 | $users = $revision->getCommentingUsers(); |
344 | 344 | |
| 345 | + $rowTitle = SpecialPage::getTitleFor( 'Code', $this->mRepo->getName() . '/' . $row->mId ); |
| 346 | + $rowUrl = $rowTitle->getFullUrl(); |
| 347 | + |
345 | 348 | $revisionAuthor = $revision->getWikiUser(); |
346 | 349 | |
347 | 350 | //Add the followup revision author if they have not already been added as a commentor (they won't want dupe emails!) |
— | — | @@ -360,7 +363,7 @@ |
361 | 364 | $lang = array( 'language' => $user->getOption( 'language' ) ); |
362 | 365 | $user->sendMail( |
363 | 366 | wfMsgExt( 'codereview-email-subj2', $lang, $this->mRepo->getName(), $this->getIdString( $row->cr_id ) ), |
364 | | - wfMsgExt( 'codereview-email-body2', $lang, $committer, $this->getIdStringUnique( $row->cr_id ), $url, $this->mMessage ) |
| 367 | + wfMsgExt( 'codereview-email-body2', $lang, $committer, $this->getIdStringUnique( $row->cr_id ), $url, $this->mMessage, $rowUrl ) |
365 | 368 | ); |
366 | 369 | } |
367 | 370 | } |