Index: trunk/extensions/CodeReview/CodeReview.i18n.php |
— | — | @@ -128,6 +128,8 @@ |
129 | 129 | 'code-rev-submit-accesskey' => 's', |
130 | 130 | 'code-rev-submit-next' => 'Save & next unresolved', |
131 | 131 | 'code-rev-submit-next-accesskey' => '', |
| 132 | + 'code-rev-next' => 'Next unresolved', |
| 133 | + 'code-rev-next-accesskey' => '', |
132 | 134 | 'code-batch-status' => 'Change status:', |
133 | 135 | 'code-batch-tags' => 'Change tags:', |
134 | 136 | 'codereview-batch-title' => 'Change all selected revisions', |
— | — | @@ -311,6 +313,7 @@ |
312 | 314 | 'code-rev-submit' => 'Caption of the button used to Save changes when viewing a revision. |
313 | 315 | {{Identical|Save changes}}', |
314 | 316 | 'code-rev-submit-next' => 'Caption of the button used when viewing a revision to Save changes moving to next unresolved revision.', |
| 317 | + 'code-rev-next' => 'Caption of the button used when viewing a revision to move to the next unresolved revision.', |
315 | 318 | 'codereview-batch-submit' => '{{Identical|Submit}}', |
316 | 319 | 'codereview-subtitle' => '{{Identical|For $1}} |
317 | 320 | ---- |
Index: trunk/extensions/CodeReview/ui/CodeRevisionCommitter.php |
— | — | @@ -29,7 +29,7 @@ |
30 | 30 | |
31 | 31 | // Return to rev page |
32 | 32 | if ( !$redirTarget ) { |
33 | | - // Was "next & unresolved" clicked? |
| 33 | + // Was "next" (or "save & next") clicked? |
34 | 34 | if ( $this->jumpToNext ) { |
35 | 35 | $next = $this->mRev->getNextUnresolved( $this->mPath ); |
36 | 36 | if ( $next ) { |
Index: trunk/extensions/CodeReview/ui/CodeRevisionView.php |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | $this->mAddTags = $wgRequest->getText( 'wpTag' ); |
36 | 36 | $this->mRemoveTags = $wgRequest->getText( 'wpRemoveTag' ); |
37 | 37 | $this->mStatus = $wgRequest->getText( 'wpStatus' ); |
38 | | - $this->jumpToNext = $wgRequest->getCheck( 'wpSaveAndNext' ); |
| 38 | + $this->jumpToNext = $wgRequest->getCheck( 'wpSaveAndNext' ) || $wgRequest->getCheck( 'wpNext' ); |
39 | 39 | $this->mReplyTarget = $replyTarget ? |
40 | 40 | (int)$replyTarget : $wgRequest->getIntOrNull( 'wpParent' ); |
41 | 41 | $this->text = $wgRequest->getText( "wpReply{$this->mReplyTarget}" ); |
— | — | @@ -905,6 +905,10 @@ |
906 | 906 | array( 'name' => 'wpSaveAndNext', |
907 | 907 | 'accesskey' => wfMsg( 'code-rev-submit-next-accesskey' ) ) |
908 | 908 | ) . ' ' . |
| 909 | + Xml::submitButton( wfMsg( 'code-rev-next' ), |
| 910 | + array( 'name' => 'wpNext', |
| 911 | + 'accesskey' => wfMsg( 'code-rev-next-accesskey' ) ) |
| 912 | + ) . ' ' . |
909 | 913 | Xml::submitButton( wfMsg( 'code-rev-comment-preview' ), |
910 | 914 | array( 'name' => 'wpPreview', |
911 | 915 | 'accesskey' => wfMsg( 'code-rev-comment-preview-accesskey' ) ) |