partial revert of r55447: breaks url wpName prefilling
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 17 Sep 2009 02:15:51 +0000 (02:15 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 17 Sep 2009 02:15:51 +0000 (02:15 +0000)
includes/templates/Userlogin.php

index ddf4bda..96713ff 100644 (file)
@@ -156,7 +156,7 @@ class UsercreateTemplate extends QuickTemplate {
                        <td class="mw-label"><label for='wpName2'><?php $this->msg('yourname') ?></label></td>
                        <td class="mw-input">
                                <?php
-                       echo Html::input( 'wpName', null, 'text', array(
+                       echo Html::input( 'wpName', $this->data['name'], 'text', array(
                                'class' => 'loginText',
                                'id' => 'wpName2',
                                'tabindex' => '1',