msgWiki('loginprompt') ?>
haveData( 'languages' ) ) { ?>
data['loggedin'] ) { ?>
getMsg( 'userlogin-loggedin' )->params( $this->data['loggedinuser'] )->parse(); ?>
html( 'header' ); /* extensions such as ConfirmEdit add form HTML here */ ?>
data['message'] ) { ?>
data['messagetype'] == 'error' ) { ?> msg( 'loginerror' ); ?>
html( 'message' ); ?>
data['formheader'] ) { ?>
html( 'formheader' ); /* extensions such as MobileFrontend add html here */ ?>
data['name'], 'text', array( 'class' => 'loginText mw-ui-input', 'id' => 'wpName1', 'tabindex' => '1', // 'required' is blacklisted for now in Html.php due to browser issues. // Keeping here in case that changes. 'required' => true, // Set focus to this field if it's blank. 'autofocus' => !$this->data['name'], 'placeholder' => $this->getMsg( 'userlogin-yourname-ph' )->text() ) ); ?>
'loginPassword mw-ui-input', 'id' => 'wpPassword1', 'tabindex' => '2', // Set focus to this field if username is filled in. 'autofocus' => (bool)$this->data['name'], 'placeholder' => $this->getMsg( 'userlogin-yourpassword-ph' )->text() ) ); ?>
data['usedomain'] ) && $this->data['usedomain'] ) { $select = new XmlSelect( 'wpDomain', false, $this->data['domain'] ); $select->setAttribute( 'tabindex', 3 ); foreach ( $this->data['domainnames'] as $dom ) { $select->addOption( $dom ); } ?>
getHTML(); ?>
haveData( 'extrafields' ) ) { echo $this->data['extrafields']; } ?>
data['canremember'] ) { ?>
data['remember'] ) { echo 'checked="checked"'; } ?> >
'wpLoginAttempt', 'name' => 'wpLoginAttempt', 'tabindex' => '6', ); $modifiers = array( 'mw-ui-constructive', ); echo Html::submitButton( $this->getMsg( 'pt-login-button' )->text(), $attrs, $modifiers ); ?>
data['useemail'] && $this->data['canreset'] && $this->data['resetlink'] === true ) { echo Html::rawElement( 'div', array( 'class' => 'mw-ui-vform-field mw-form-related-link-container', ), Linker::link( SpecialPage::getTitleFor( 'PasswordReset' ), $this->getMsg( 'userlogin-resetpassword-link' )->escaped() ) ); } if ( $this->haveData( 'createOrLoginHref' ) ) { if ( $this->data['loggedin'] ) { ?> haveData( 'uselang' ) ) { $fields .= Html::hidden( 'uselang', $this->data['uselang'] ); } if ( $this->haveData( 'token' ) ) { $fields .= Html::hidden( 'wpLoginToken', $this->data['token'] ); } if ( $this->data['cansecurelogin'] ) { $fields .= Html::hidden( 'wpForceHttps', $this->data['stickhttps'] ); } if ( $this->data['cansecurelogin'] && $this->haveData( 'fromhttp' ) ) { $fields .= Html::hidden( 'wpFromhttp', $this->data['fromhttp'] ); } echo $fields; ?>