Index: trunk/extensions/FlaggedRevs/presentation/specialpages/actions/Stabilization_body.php |
— | — | @@ -215,7 +215,7 @@ |
216 | 216 | '</td> |
217 | 217 | <td class="mw-input">' . |
218 | 218 | Xml::input( 'wpReason', 70, $form->getReasonExtra(), |
219 | | - array( 'id' => 'wpReason' ) ) . |
| 219 | + array( 'id' => 'wpReason', 'maxlength' => 255 ) ) . |
220 | 220 | '</td> |
221 | 221 | </tr> |
222 | 222 | <tr> |
Index: trunk/extensions/FlaggedRevs/presentation/RevisionReviewFormUI.php |
— | — | @@ -157,7 +157,8 @@ |
158 | 158 | } |
159 | 159 | $form .= "<span id='mw-fr-commentbox' style='clear:both'>" . |
160 | 160 | Xml::inputLabel( wfMsg( 'revreview-log' ), 'wpReason', 'wpReason', 40, '', |
161 | | - array( 'class' => 'fr-comment-box' ) ) . "   </span>"; |
| 161 | + array( 'maxlength' => 255, 'class' => 'fr-comment-box' ) ) . |
| 162 | + "   </span>"; |
162 | 163 | } |
163 | 164 | # Determine if there will be reject button |
164 | 165 | $rejectId = $this->rejectRefRevId(); |
Index: trunk/extensions/FlaggedRevs/presentation/RejectConfirmationFormUI.php |
— | — | @@ -132,7 +132,7 @@ |
133 | 133 | $form .= Html::hidden( 'wpEditToken', $this->form->getUser()->editToken() ); |
134 | 134 | $form .= Html::hidden( 'changetime', $newRev->getTimestamp() ); |
135 | 135 | $form .= Xml::inputLabel( wfMsg( 'revreview-reject-summary' ), 'wpReason', |
136 | | - 'wpReason', 120, $defaultSummary ) . "<br />"; |
| 136 | + 'wpReason', 120, $defaultSummary, array( 'maxlength' => 200 ) ) . "<br />"; |
137 | 137 | $form .= Html::input( 'wpSubmit', wfMsg( 'revreview-reject-confirm' ), 'submit' ); |
138 | 138 | $form .= ' '; |
139 | 139 | $form .= $skin->link( $this->form->getPage(), wfMsg( 'revreview-reject-cancel' ), |