Fix for http://bugzilla.wikimedia.org/show_bug.cgi?id=10036 -- add "maxlength=200...
authorDaniel Cannon <amidaniel@users.mediawiki.org>
Wed, 30 May 2007 19:48:41 +0000 (19:48 +0000)
committerDaniel Cannon <amidaniel@users.mediawiki.org>
Wed, 30 May 2007 19:48:41 +0000 (19:48 +0000)
includes/SpecialBlockip.php

index ce36184..b434c0a 100644 (file)
@@ -196,7 +196,8 @@ class IPBlockForm {
                        <td align=\"$alignRight\">{$mIpbreason}</td>
                        <td>
                                " . Xml::input( 'wpBlockReason', 45, $this->BlockReason,
-                                       array( 'tabindex' => '5', 'id' => 'mw-bi-reason' ) ) . "
+                                       array( 'tabindex' => '5', 'id' => 'mw-bi-reason',
+                                              'maxlength'=> '200' ) ) . "
                        </td>
                </tr>
                <tr id='wpAnonOnlyRow'>