From: Mark A. Hershberger Date: Sat, 23 Nov 2013 05:32:59 +0000 (-0500) Subject: Restore Signupstart and Signupend messages for account creation X-Git-Tag: 1.31.0-rc.0~17733^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=8cfedc494ab6dcdfd0c0ac8202b1685b2ab9581f;p=lhc%2Fweb%2Fwiklou.git Restore Signupstart and Signupend messages for account creation This was removed during the redesign of the login process in I50f25583, but I found that 5-10% of non-wmf wiki sites used this message to display notices, previously. We should keep this around or at the very least provide advance notice for people. Bug: 56455 Change-Id: I79423c1a05f0359c902d1940c3ffcd5e509dcf97 --- diff --git a/includes/templates/Usercreate.php b/includes/templates/Usercreate.php index 4750af95e5..fcd492cb37 100644 --- a/includes/templates/Usercreate.php +++ b/includes/templates/Usercreate.php @@ -46,6 +46,9 @@ class UsercreateTemplate extends BaseTemplate { + isDisabled() ) { ?> +
msgWiki( 'signupstart' ); ?>

@@ -262,6 +265,9 @@ class UsercreateTemplate extends BaseTemplate { haveData( 'uselang' ) ) { ?> haveData( 'token' ) ) { ?> + isDisabled() ) { ?> +
html( 'signupend' ); ?>
+

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