This reverts r45571 (
207e3e64), with some whitespace changes.
The original reason for making it a <textarea> was to avoid confusion
with the <input> for new page name. This is invalid now that the page
name field has been split into a namespace dropdown and an actual page
title field.
Bug: 13627
Change-Id: I5ab2092c32682e7a8a1494bf58553971568fa6cf
Xml::label( $this->msg( 'movereason' )->text(), 'wpReason' ) .
"</td>
<td class='mw-input'>" .
- Html::element( 'textarea', array( 'name' => 'wpReason', 'id' => 'wpReason', 'cols' => 60, 'rows' => 2,
- 'maxlength' => 200 ), $this->reason ) .
+ Xml::input( 'wpReason', 60, $this->reason, array(
+ 'type' => 'text',
+ 'id' => 'wpReason',
+ 'maxlength' => 200,
+ ) ) .
"</td>
</tr>"
);