Fixes bug #28694: Set maxlength of revisiondelete comment to 100.
[lhc/web/wiklou.git] / includes / specials / SpecialRevisiondelete.php
index 14b568c..21730a5 100644 (file)
@@ -404,7 +404,7 @@ class SpecialRevisionDelete extends UnlistedSpecialPage {
                                                Xml::label( wfMsg( 'revdelete-otherreason' ), 'wpReason' ) .
                                        '</td>' .
                                        '<td class="mw-input">' .
-                                               Xml::input( 'wpReason', 60, $this->otherReason, array( 'id' => 'wpReason' ) ) .
+                                               Xml::input( 'wpReason', 60, $this->otherReason, array( 'id' => 'wpReason', 'maxlength' => 100 ) ) .
                                        '</td>' .
                                "</tr><tr>\n" .
                                        '<td></td>' .