Fix "Bad value 1 for attribute autofocus" on special pages
authorumherirrender <umherirrender_de.wp@web.de>
Wed, 14 Jan 2015 18:36:52 +0000 (19:36 +0100)
committerNikerabbit <niklas.laxstrom@gmail.com>
Wed, 18 Mar 2015 14:27:52 +0000 (14:27 +0000)
commitc89feebfd0f8308a0be23b254bb62830a235ea0d
tree096d6805bcc532d5005e0c103efe9f644d2d428e
parent4f60a37d4e88d525d383b4c3fd43aaecbb912a68
Fix "Bad value 1 for attribute autofocus" on special pages

Xml::inputLabel does not work with boolean parameters, therefore change
true to an empty string to avoid the '1' in html.

This is done for Special:BookSources (from the bug),
Special:ExpandTemplates, Special:Undelete and Special:Userrights

Bug: T68134
Change-Id: I53ff5701840750f17a2ea9a1ec56cd88c00f3cf5
includes/specials/SpecialBooksources.php
includes/specials/SpecialExpandTemplates.php
includes/specials/SpecialUndelete.php
includes/specials/SpecialUserrights.php