Spage has uploaded a new change for review.
https://gerrit.wikimedia.org/r/63263
Change subject: Add empty {userlogin,createacct}-end message area
......................................................................
Add empty {userlogin,createacct}-end message area
Wiki admins will do whatever it takes to customize forms regardless of
design goals of simplicity and consistency. So give them the least
intrusive area of the new compact vertical-format login and create
account forms for customization, equivalent to {login,signup}end in the
old forms.
Change-Id: Ic5ea7cf71a80143647bea3f4d89e7ce35beccfe0
---
M includes/templates/UsercreateVForm.php
M includes/templates/UserloginVForm.php
M languages/messages/MessagesEn.php
M maintenance/language/messageTypes.inc
4 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/63/63263/1
diff --git a/includes/templates/UsercreateVForm.php
b/includes/templates/UsercreateVForm.php
index 626f880..1675729 100644
--- a/includes/templates/UsercreateVForm.php
+++ b/includes/templates/UsercreateVForm.php
@@ -282,6 +282,7 @@
?>
</div>
</div>
+<div id="mw-createacct-end"><?php echo $this->getMsg( 'createacct-end' );
?></div>
</div>
<?php
diff --git a/includes/templates/UserloginVForm.php
b/includes/templates/UserloginVForm.php
index 0e688a4..03450ce 100644
--- a/includes/templates/UserloginVForm.php
+++ b/includes/templates/UserloginVForm.php
@@ -190,6 +190,7 @@
<?php if ( $this->haveData( 'token' ) ) { ?><input type="hidden"
name="wpLoginToken" value="<?php $this->text( 'token' ); ?>" /><?php } ?>
</form>
</div>
+<div id="mw-userlogin-end"><?php echo $this->getMsg( 'userlogin-end' );
?></div>
</div>
<?php
}
diff --git a/languages/messages/MessagesEn.php
b/languages/messages/MessagesEn.php
index 93e9746..766da99 100644
--- a/languages/messages/MessagesEn.php
+++ b/languages/messages/MessagesEn.php
@@ -1201,6 +1201,8 @@
'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
'signupend-https' => '', # do not translate or duplicate this
message to other languages
+'userlogin-end' => '', # do not translate or duplicate this
message to other languages
+'createacct-end' => '', # 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.
As a result, visitors using this IP address cannot create any more accounts at
the moment.',
diff --git a/maintenance/language/messageTypes.inc
b/maintenance/language/messageTypes.inc
index 9e629b4..fcccf7d 100644
--- a/maintenance/language/messageTypes.inc
+++ b/maintenance/language/messageTypes.inc
@@ -256,6 +256,8 @@
'createacct-benefit-icon3',
'today-at',
'redirect-text',
+ 'userlogin-end',
+ 'createacct-end',
);
/** Optional messages, which may be translated only if changed in the target
language. */
--
To view, visit https://gerrit.wikimedia.org/r/63263
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5ea7cf71a80143647bea3f4d89e7ce35beccfe0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Spage <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits