Userlogin.php: Tweaks and corrections
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 15 Jan 2015 18:30:14 +0000 (10:30 -0800)
committerUmherirrender <umherirrender_de.wp@web.de>
Thu, 15 Jan 2015 18:46:01 +0000 (18:46 +0000)
commitff1f9e7a535acd6d87277710e2c3031e327b3d0a
treed93b9b8c60b86ecd4dddb99cc9b50fec4f3794cd
parentb575c2686bc0343cc0825573403bd56f7b50ed6a
Userlogin.php: Tweaks and corrections

* Correct nesting of the block generating "Forgot your password?" link
  – it would be mistakenly only generated if the user could create an
  account.
* Use ->escaped() rather than ->parse() for 'userlogin-resetpassword-link',
  as it is used inside a link and allowing wikitext could lead to
  undesirable side-effects.
* Remove unused $extraAttrs variable.
* Remove pointless 'size' => '20' for some fields (they are displayed
  full-width using CSS).
* Remove pointless .mw-ui-block class, as its styles are always used
  for buttons in a VForm.
* Prettify code for hidden fields generation.

Change-Id: If749620bf2eaf58f815cae559383e1a1c842b870
includes/templates/Userlogin.php