Add signupstart to Userlogin.php per request of MZMcBride
authorSam Reed <reedy@users.mediawiki.org>
Sat, 14 Aug 2010 22:38:18 +0000 (22:38 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Sat, 14 Aug 2010 22:38:18 +0000 (22:38 +0000)
That, and we've got a loginstart/loginend, and then signupend, but no signupstart

includes/templates/Userlogin.php
languages/messages/MessagesEn.php
maintenance/language/messages.inc

index 7693223..914b3d1 100644 (file)
@@ -148,6 +148,8 @@ class UsercreateTemplate extends QuickTemplate {
        </div>
        <div class="visualClear"></div>
 <?php } ?>
+
+<div id="signupstart"><?php $this->msgWiki( 'signupstart' ); ?></div>
 <div id="userlogin">
 
 <form name="userlogin2" id="userlogin2" method="post" action="<?php $this->text('action') ?>">
index 674972a..a731cdd 100644 (file)
@@ -1115,6 +1115,7 @@ Before any other e-mail is sent to the account, you will have to follow the inst
 To prevent abuse, only one password reminder will be sent per {{PLURAL:$1|hour|$1 hours}}.',
 'loginstart'                 => '', # do not translate or duplicate this message to other languages
 'loginend'                   => '', # do not translate or duplicate this message to other languages
+'signupstart'                => '{{int:loginstart}}', # do not translate or duplicate this message to other languages
 'signupend'                  => '{{int:loginend}}', # do not translate or duplicate this message to other languages
 'mailerror'                  => 'Error sending mail: $1',
 'acct_creation_throttle_hit' => 'Visitors to this wiki using your IP address have created {{PLURAL:$1|1 account|$1 accounts}} in the last day, which is the maximum allowed in this time period.
index ee8cfed..9c89aa5 100644 (file)
@@ -449,6 +449,7 @@ $wgMessageStructure = array(
                'throttled-mailpassword',
                'loginstart',
                'loginend',
+               'signupstart',
                'signupend',
                'mailerror',
                'acct_creation_throttle_hit',