Fixes bug #28694: Set maxlength of revisiondelete comment to 100.
authorMark A. Hershberger <mah@users.mediawiki.org>
Tue, 3 May 2011 17:21:43 +0000 (17:21 +0000)
committerMark A. Hershberger <mah@users.mediawiki.org>
Tue, 3 May 2011 17:21:43 +0000 (17:21 +0000)
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>' .