<label for='wpName2'>
<?php $this->msg( 'userlogin-yourname' ); ?>
- <span class="mw-ui-flush-right"><?php echo $this->getMsg( 'createacct-helpusername-link' )->parse(); ?></span>
+ <span class="mw-ui-flush-right"><?php echo $this->getMsg( 'createacct-helpusername' )->parse(); ?></span>
</label>
<?php echo Html::input( 'wpName', $this->data['name'], 'text', array(
'class' => 'mw-input loginText',
'yourname' => 'Username:',
'userlogin-yourname' => 'Username',
'userlogin-yourname-ph' => 'Enter your username',
-'createacct-helpusername-url' => '{{ns:Project}}:Username_policy',
-'createacct-helpusername-link' => '[[{{MediaWiki:createacct-helpusername-url}}|(help me choose)]]',
+'createacct-helpusername' => '', # do not translate or duplicate this message to other languages
'yourpassword' => 'Password:',
'userlogin-yourpassword' => 'Password',
'userlogin-yourpassword-ph' => 'Enter your password',
'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-help' => '', # do not translate or duplicate this message to other languages
'createacct-imgcaptcha-ph' => 'Enter the text you see above',
'createacct-submit' => 'Create your account',
'createacct-benefit-heading' => '{{SITENAME}} is made by people like you.',
'userlogin-yourname-ph' => 'Placeholder text in new userlogin/create account form field.
See example: [{{canonicalurl:Special:UserLogin|useNew=1}} Special:UserLogin?useNew=1] and [{{canonicalurl:Special:UserLogin|type=signup&useNew=1}} Special:UserLogin?type=signup&useNew=1]',
-'createacct-helpusername-url' => 'The URL of a page providing username guidance for the wiki.
-Used as a link in the {{msg-mw|Createacct-helpusername}} on WMF wikis.',
-'createacct-helpusername-link' => 'Message in new create account form providing guidance for username.
+'createacct-helpusername' => 'Message in new create account form providing guidance for username.
See example: [{{canonicalurl:Special:UserLogin|type=signup&useNew=1}} Special:UserLogin?type=signup&useNew=1]',
'yourpassword' => 'In user preferences
See example: [{{canonicalurl:Special:UserLogin|type=signup&useNew=1}} Special:UserLogin?type=signup&useNew=1]',
'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.
'deletedarticle',
// 'uploadedimage',
// 'overwroteimage',
+ 'createacct-helpusername',
+ 'createacct-imgcaptcha-help',
'userlogout-summary',
'changeemail-summary',
'changepassword-summary',
'yourname',
'userlogin-yourname',
'userlogin-yourname-ph',
- 'createacct-helpusername-url',
- 'createacct-helpusername-link',
+ 'createacct-helpusername',
'yourpassword',
'userlogin-yourpassword',
'userlogin-yourpassword-ph',
'createacct-reason',
'createacct-reason-ph',
'createacct-captcha',
- 'createacct-captcha-help-url',
'createacct-imgcaptcha-help',
'createacct-imgcaptcha-ph',
'createacct-submit',
tabIndex,
$captchaStuff,
$captchaImageContainer,
+ // JavaScript can't yet parse the message createacct-imgcaptcha-help when it
+ // contains a MediaWiki transclusion, so PHP parses it and sends the HTML.
helpMsg = mw.config.get( 'wgCreateacctImgcaptchaHelp' ),
helpHtml = '';
helpHtml = '<small class="mw-createacct-captcha-assisted">' + helpMsg + '</small>';
}
- // Insert another div before the submit button that will include the
+ // Insert another div before the submit button that will include the
// repositioned FancyCaptcha div, an input field, and possible help.
$submit.closest( 'div' )
.before( [