Move template header inside form so CAPTCHA works
authorS Page <spage@wikimedia.org>
Fri, 19 Apr 2013 07:44:04 +0000 (00:44 -0700)
committerS Page <spage@wikimedia.org>
Tue, 23 Apr 2013 04:19:46 +0000 (21:19 -0700)
commit574820ed6c0ec147a9387576301301407cf72995
tree7aad8ab7ce46d74675e2b383a3cdc4394e1474a3
parent1c3bcd07882b1e0a2c0abad5a69cd125cbb35255
Move template header inside form so CAPTCHA works

Also wrap it inside a section tag so the form's styling of gray labels
and full-width input fields doesn't apply to the CAPTCHA.  The same fix
is in the new Create account form (though that uses JavaScript to
reposition the FancyCaptcha image).

CSS gives the section a small bottom margin to space it from the form
contents, small enough to not affect form layout if there is nothing
in the template header.

Bug: 47371
Change-Id: I1523fe6551585ba731b0ca4207e22d614d0a46d8
includes/templates/UserloginVForm.php
resources/mediawiki.special/mediawiki.special.vforms.css