Yuvipanda has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/107042


Change subject: input -> textarea
......................................................................

input -> textarea

I think this is all that is needed to turn the input into a text area that is 
three rows tall to be able to see all of whatever is in there.  The size=20 
input line was just too little.

Change-Id: I75a04e5f465c9626b399b147e0e7fd8c785804fb
---
M includes/templates/Usercreate.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/42/107042/1

diff --git a/includes/templates/Usercreate.php 
b/includes/templates/Usercreate.php
index 12210d0..9a19ab4 100644
--- a/includes/templates/Usercreate.php
+++ b/includes/templates/Usercreate.php
@@ -183,11 +183,11 @@
                        <?php if ( $this->data['usereason'] ) { ?>
                                <div>
                                        <label for='wpReason'><?php $this->msg( 
'createacct-reason' ); ?></label>
-                                       <?php echo Html::input( 'wpReason', 
$this->data['reason'], 'text', array(
+                                       <?php echo Html::textarea( 'wpReason', 
$this->data['reason'], 'text', array(
                                                'class' => 'mw-input loginText',
                                                'id' => 'wpReason',
                                                'tabindex' => '8',
-                                               'size' => '20',
+                                               'rows' => '3',
                                                'placeholder' => $this->getMsg( 
'createacct-reason-ph' )->text()
                                        ) ); ?>
                                </div>

-- 
To view, visit https://gerrit.wikimedia.org/r/107042
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I75a04e5f465c9626b399b147e0e7fd8c785804fb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Yuvipanda <yuvipa...@gmail.com>
Gerrit-Reviewer: Technical 13 <technical...@yahoo.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to