Index: trunk/extensions/CodeReview/CodeReview.i18n.php |
— | — | @@ -145,7 +145,10 @@ |
146 | 146 | 'codereview-email-body' => 'User "$1" posted a comment on $3. |
147 | 147 | |
148 | 148 | Full URL: $2 |
| 149 | +Commit summary: |
149 | 150 | |
| 151 | +$5 |
| 152 | + |
150 | 153 | Comment: |
151 | 154 | |
152 | 155 | $4', |
— | — | @@ -169,8 +172,11 @@ |
170 | 173 | Old Status: $3 |
171 | 174 | New Status: $4 |
172 | 175 | |
173 | | -Full URL: $5', |
| 176 | +Full URL: $5 |
| 177 | +Commit summary: |
174 | 178 | |
| 179 | +$6', |
| 180 | + |
175 | 181 | 'codereview-email-subj4' => '[$1 $2]: New comment added, and revision status changed', |
176 | 182 | 'codereview-email-body4' => 'User "$1" changed the status of $2. |
177 | 183 | |
— | — | @@ -180,7 +186,10 @@ |
181 | 187 | User "$1" also posted a comment on $2. |
182 | 188 | |
183 | 189 | Full URL: $5 |
| 190 | +Commit summary: |
184 | 191 | |
| 192 | +$7 |
| 193 | + |
185 | 194 | Comment: |
186 | 195 | |
187 | 196 | $6', |
Index: trunk/extensions/CodeReview/ui/CodeRevisionCommitter.php |
— | — | @@ -121,16 +121,17 @@ |
122 | 122 | if ( $statusChanged && $commentAdded ) { |
123 | 123 | $this->mRev->emailNotifyUsersOfChanges( 'codereview-email-subj4', 'codereview-email-body4', |
124 | 124 | $wgUser->getName(), $this->mRev->getIdStringUnique(), $this->mRev->getOldStatus(), |
125 | | - $this->mRev->getStatus(), $url, $this->text |
| 125 | + $this->mRev->getStatus(), $url, $this->text, $this->mRev->getMessage() |
126 | 126 | ); |
127 | 127 | } else if ( $statusChanged ) { |
128 | 128 | $this->mRev->emailNotifyUsersOfChanges( 'codereview-email-subj3', 'codereview-email-body3', |
129 | 129 | $wgUser->getName(), $this->mRev->getIdStringUnique(), $this->mRev->getOldStatus(), |
130 | | - $this->mRev->getStatus(), $url |
| 130 | + $this->mRev->getStatus(), $url, $this->mRev->getMessage() |
131 | 131 | ); |
132 | 132 | } else if ( $commentAdded ) { |
133 | 133 | $this->mRev->emailNotifyUsersOfChanges( 'codereview-email-subj', 'codereview-email-body', |
134 | | - $wgUser->getName(), $url, $this->mRev->getIdStringUnique(), $this->text |
| 134 | + $wgUser->getName(), $url, $this->mRev->getIdStringUnique(), $this->text, |
| 135 | + $this->mRev->getMessage() |
135 | 136 | ); |
136 | 137 | } |
137 | 138 | } |