From: Mark A. Hershberger Date: Tue, 3 May 2011 17:21:43 +0000 (+0000) Subject: Fixes bug #28694: Set maxlength of revisiondelete comment to 100. X-Git-Tag: 1.31.0-rc.0~30436 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=669d29d56d51647d68f5762fa5b7115650d4f7ce;p=lhc%2Fweb%2Fwiklou.git Fixes bug #28694: Set maxlength of revisiondelete comment to 100. --- diff --git a/includes/specials/SpecialRevisiondelete.php b/includes/specials/SpecialRevisiondelete.php index 14b568ce1f..21730a58d2 100644 --- a/includes/specials/SpecialRevisiondelete.php +++ b/includes/specials/SpecialRevisiondelete.php @@ -404,7 +404,7 @@ class SpecialRevisionDelete extends UnlistedSpecialPage { Xml::label( wfMsg( 'revdelete-otherreason' ), 'wpReason' ) . '' . '' . - Xml::input( 'wpReason', 60, $this->otherReason, array( 'id' => 'wpReason' ) ) . + Xml::input( 'wpReason', 60, $this->otherReason, array( 'id' => 'wpReason', 'maxlength' => 100 ) ) . '' . "\n" . '' .