) );
?>
</div>
-
<div id="mw-userlogin-help">
- <?php echo $this->getMsg( 'userlogin-helplink' )->parse(); ?>
+ <?php
+ echo Html::element(
+ 'a',
+ array(
+ 'href' => Skin::makeInternalOrExternalUrl(
+ wfMessage( 'helplogin-url' )->inContentLanguage()->text()
+ ),
+ ),
+ $this->getMsg( 'userlogin-helplink2' )->text()
+ );
+ ?>
</div>
<?php if ( $this->haveData( 'createOrLoginHref' ) ) { ?>
<?php if ( $this->data['loggedin'] ) { ?>
'gotaccountlink' => 'Log in',
'userlogin-resetlink' => 'Forgotten your login details?',
'userlogin-resetpassword-link' => 'Forgot your password?',
-'helplogin-url' => 'Help:Logging in',
-'userlogin-helplink' => '[[{{MediaWiki:helplogin-url}}|Help with logging in]]',
+'helplogin-url' => 'https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Logging_in',
+'userlogin-helplink2' => 'Help with logging in',
'userlogin-loggedin' => 'You are already logged in as {{GENDER:$1|$1}}.
Use the form below to log in as another user.',
'userlogin-createanother' => 'Create another account',
userlogin-resetpassword-link may have to be shorter than the old {{msg-mw|userlogin-resetlink}}.
{{Identical|Forgot your password}}',
-'helplogin-url' => '{{doc-important|Do not translate the namespace name <code>Help</code>.}}
-Used as name of the page that provides information about logging into the wiki.
+'helplogin-url' => '{{doc-important|Do not translate the target page, Special:MyLanguage handles it.}}
+Defines the URL to the page that provides information about logging into the wiki.
-Used as a link target in the message {{msg-mw|Userlogin-helplink}}.',
-'userlogin-helplink' => '{{doc-important|Do not change <code><nowiki>{{MediaWiki:helplogin-url}}</nowiki></code>.}}
-Wikitext linking to login help.
+Used as a link target for the link with label {{msg-mw|userlogin-helplink2}}; can be locally customised to be an URL or local page title.',
+'userlogin-helplink2' => 'Label for a link to login help.
See example: [[Special:UserLogin]]
'today-at',
'redirect-text',
'edithelppage',
+ 'helplogin-url',
'autocomment-prefix',
'move-redirect-text',
'interlanguage-link-title-langonly',
'userlogin-resetlink',
'userlogin-resetpassword-link',
'helplogin-url',
- 'userlogin-helplink',
+ 'userlogin-helplink2',
'userlogin-loggedin',
'userlogin-createanother',
'createacct-join',