data['extraInput'][] = array( 'name' => $name, 'value' => $value, 'type' => $type, 'msg' => $msg, 'helptext' => $helptext, ); } function execute() { global $wgCookieExpiration; $expirationDays = ceil( $wgCookieExpiration / ( 3600 * 24 ) ); ?>
haveData( 'languages' ) ) { ?> isDisabled() ) { ?>
msgWiki( 'signupstart' ); ?>
html( 'header' ); /* extensions such as ConfirmEdit add form HTML here */ ?>
data['message'] ) { ?> class="data['messagetype']; ?>box" style="display: none;" > data['message'] ) { ?> data['messagetype'] == 'error' ) { ?> msg( 'createacct-error' ); ?>
html( 'message' ); ?>
data['name'], 'text', array( 'class' => 'mw-ui-input loginText', 'id' => 'wpName2', 'tabindex' => '1', 'size' => '20', 'required', 'placeholder' => $this->getMsg( $this->data['loggedin'] ? 'createacct-another-username-ph' : 'userlogin-yourname-ph' )->text(), ) ); ?>
data['createemail'] ) { ?>
data['createemailset'] ) { echo 'checked="checked"'; } ?> >
'mw-ui-input loginPassword', 'id' => 'wpPassword2', 'tabindex' => '3', 'size' => '20', 'required', 'placeholder' => $this->getMsg( 'createacct-yourpassword-ph' )->text() ) + User::passwordChangeInputAttribs() ); ?>
data['usedomain'] ) { $select = new XmlSelect( 'wpDomain', false, $this->data['domain'] ); $select->setAttribute( 'tabindex', 4 ); foreach ( $this->data['domainnames'] as $dom ) { $select->addOption( $dom ); } ?>
getHTML(); ?>
'mw-ui-input loginPassword', 'id' => 'wpRetype', 'tabindex' => '5', 'size' => '20', 'required', 'placeholder' => $this->getMsg( 'createacct-yourpasswordagain-ph' )->text() ) + User::passwordChangeInputAttribs() ); ?>
data['useemail'] ) { ?> data['email'], 'email', array( 'class' => 'mw-ui-input loginText', 'id' => 'wpEmail', 'tabindex' => '6', 'size' => '20', 'required' => $this->data['emailrequired'], 'placeholder' => $this->getMsg( $this->data['loggedin'] ? 'createacct-another-email-ph' : 'createacct-email-ph' )->text() ) ); ?>
data['userealname'] ) { ?>
msgWiki( $this->data['loggedin'] ? 'createacct-another-realname-tip' : 'prefs-help-realname' ); ?>
data['usereason'] ) { ?>
data['reason'], 'text', array( 'class' => 'mw-ui-input loginText', 'id' => 'wpReason', 'tabindex' => '8', 'size' => '20', 'placeholder' => $this->getMsg( 'createacct-reason-ph' )->text() ) ); ?>
data['extraInput'] ) && is_array( $this->data['extraInput'] ) ) { foreach ( $this->data['extraInput'] as $inputItem ) { ?>
>
msgHtml( $inputItem['msg'] ); ?>
msgWiki( $inputItem['helptext'] ); ?>
getMsg( $this->data['loggedin'] ? 'createacct-another-submit' : 'createacct-submit' ), 'submit', array( 'class' => "mw-ui-button mw-ui-big mw-ui-block mw-ui-constructive", 'id' => 'wpCreateaccount', 'tabindex' => $tabIndex++ ) ); ?>
haveData( 'uselang' ) ) { ?> haveData( 'token' ) ) { ?>
isDisabled() ) { ?>
html( 'signupend' ); ?>

msg( 'createacct-benefit-heading' ); ?>

data['benefitCount']; $benefitIdx++ ) { // Pass each benefit's head text (by default a number) as a parameter to the body's message for PLURAL handling. $headUnescaped = $this->getMsg( "createacct-benefit-head$benefitIdx" )->text(); ?>
">

msg( "createacct-benefit-head$benefitIdx" ); ?>

getMsg( "createacct-benefit-body$benefitIdx" )->params( $headUnescaped )->escaped(); ?>