From efdbf8eb1ffc8d4b1497b42ea56e6510b76e2bce Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Tue, 24 Nov 2009 17:31:06 +0000 Subject: [PATCH] Followup r59363: Fix wrong syntax for Html::input. It accept other parameters then Xml::input. --- includes/EditPage.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 6870153557..dc881aac34 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -1420,12 +1420,13 @@ class EditPage { $commentsubject ); $commentsubject .= ' '; $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' ) ); -- 2.20.1