Matmarex has uploaded a new change for review.
https://gerrit.wikimedia.org/r/62163
Change subject: Make Special:MovePage's "Reason" field an input, not a textarea
......................................................................
Make Special:MovePage's "Reason" field an input, not a textarea
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
---
M includes/specials/SpecialMovepage.php
1 file changed, 5 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/63/62163/1
diff --git a/includes/specials/SpecialMovepage.php
b/includes/specials/SpecialMovepage.php
index e7a86a6..e4bce1c 100644
--- a/includes/specials/SpecialMovepage.php
+++ b/includes/specials/SpecialMovepage.php
@@ -293,8 +293,11 @@
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>"
);
--
To view, visit https://gerrit.wikimedia.org/r/62163
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5ab2092c32682e7a8a1494bf58553971568fa6cf
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Matmarex <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits