if ( $this->data['usereason'] ) { ?>
<div>
<label for='wpReason'><?php $this->msg( 'createacct-reason' ); ?></label>
- <input type='text' class='mw-input loginText' name="wpReason" id="wpReason"
- tabindex="8"
- value="<?php $this->text( 'reason' ); ?>" size='20' />
+ <?php echo Html::input( 'wpReason', $this->data['reason'], 'text', array(
+ 'class' => 'mw-input loginText',
+ 'id' => 'wpReason',
+ 'tabindex' => '8',
+ 'size' => '20',
+ 'placeholder' => $this->getMsg( 'createacct-reason-ph' )->text()
+ ) ); ?>
</div>
<?php }
$tabIndex = 9;
<div class="mw-submit">
<input type='submit' class="mw-ui-button mw-ui-big mw-ui-block mw-ui-primary" name="wpCreateaccount" id="wpCreateaccount"
tabindex="<?php echo $tabIndex++; ?>"
- value="<?php $this->msg( 'createaccount' ); ?>" />
+ value="<?php $this->msg( 'createacct-submit' ); ?>" />
</div>
<input type="hidden" id="useNew" name="useNew" value="1" />
<?php if ( $this->haveData( 'uselang' ) ) { ?><input type="hidden" name="uselang" value="<?php $this->text( 'uselang' ); ?>" /><?php } ?>
'createacct-yourpasswordagain' => 'Confirm password',
'createacct-yourpasswordagain-ph' => 'Enter password again',
'remembermypassword' => 'Remember my login on this browser (for a maximum of $1 {{PLURAL:$1|day|days}})',
-'userlogin-remembermypassword' => 'Remember me',
+'userlogin-remembermypassword' => 'Keep me logged in',
'userlogin-signwithsecure' => 'Sign in with secure server',
'securelogin-stick-https' => 'Stay connected to HTTPS after login',
'yourdomainname' => 'Your domain:',
'createacct-realname' => 'Real name (optional)',
'createaccountreason' => 'Reason:',
'createacct-reason' => 'Reason',
+'createacct-reason-ph' => 'Why you are creating another account',
'createacct-captcha' => 'Security check',
'createacct-captcha-help-url' => '{{ns:Project}}:Request an account',
'createacct-imgcaptcha-help' => 'Can\'t see the image? [[{{MediaWiki:createacct-captcha-help-url}}|Request an account]]',
'createacct-imgcaptcha-ph' => 'Enter the text you see above',
+'createacct-submit' => 'Create your account',
'createacct-benefit-heading' => '{{SITENAME}} is made by people like you.',
'createacct-benefit-icon1' => 'icon-edits',
'createacct-benefit-head1' => '{{NUMBEROFEDITS}}',
See example: [{{canonicalurl:Special:UserLogin|type=signup&useNew=1}} Special:UserLogin?type=signup&useNew=1]
{{Identical|Reason}}',
+'createacct-reason-ph' => 'Placeholder in vertical-layout create account form for reason field.',
'createacct-captcha' => 'Label in vertical-layout create account form for CAPTCHA input field when repositioned by JavaScript.',
'createacct-captcha-help-url' => 'The URL of a page providing CAPTCHA assistance for the wiki.
Used as a link in {{msg-mw|Createacct-imgcaptcha-help}}.',
'createacct-imgcaptcha-help' => 'Help text in vertical-layout create account form for image CAPTCHA input field when repositioned by JavaScript.',
'createacct-imgcaptcha-ph' => 'Placehodler text in vertical-layout create account form for image CAPTCHA input field when repositioned by JavaScript.',
+'createacct-submit' => 'Submit button on vertical-layout create account form.',
'createacct-benefit-heading' => 'In vertical-layout create account form, the heading for the section describing the benefits of creating an account.
See example: [{{canonicalurl:Special:UserLogin|type=signup&useNew=1}} Special:UserLogin?type=signup&useNew=1]',
'createacct-realname',
'createaccountreason',
'createacct-reason',
+ 'createacct-reason-ph',
'createacct-captcha',
'createacct-captcha-help-url',
'createacct-imgcaptcha-help',
'createacct-imgcaptcha-ph',
+ 'createacct-submit',
'createacct-benefit-heading',
'createacct-benefit-icon1',
'createacct-benefit-head1',