Followup r59363: Fix wrong syntax for Html::input. It accept other parameters then...
authorRaimond Spekking <raymond@users.mediawiki.org>
Tue, 24 Nov 2009 17:31:06 +0000 (17:31 +0000)
committerRaimond Spekking <raymond@users.mediawiki.org>
Tue, 24 Nov 2009 17:31:06 +0000 (17:31 +0000)
includes/EditPage.php

index 6870153..dc881aa 100644 (file)
@@ -1420,12 +1420,13 @@ class EditPage {
                                                $commentsubject );
                                $commentsubject .= '&nbsp;';
                                $commentsubject .= Html::input( 'wpSummary',
-                                                                       60,
                                                                        $summarytext,
+                                                                       'text',
                                                                        array(
                                                                                'id' => 'wpSummary',
                                                                                'maxlength' => '200',
                                                                                'tabindex' => '1',
+                                                                               'size' => '60',
                                                                                'spellcheck' => 'true'
                                                                        ) );
                        } else {
@@ -1448,12 +1449,13 @@ class EditPage {
                                        $editsummary ) . ' ';
 
                        $editsummary .= Html::input( 'wpSummary',
-                               60,
                                $summarytext,
+                               'text',
                                array(
                                        'id' => 'wpSummary',
                                        'maxlength' => '200',
                                        'tabindex' => '1',
+                                       'size' => '60',
                                        'spellcheck' => 'true'
                                ) );