(bug 40889) Fix XHTML in Special:Upload form labels
authorMark Holmquist <mtraceur@member.fsf.org>
Sat, 13 Oct 2012 23:33:50 +0000 (16:33 -0700)
committerMark Holmquist <mtraceur@member.fsf.org>
Sat, 13 Oct 2012 23:33:50 +0000 (16:33 -0700)
commit6f1d4db3e1e2bba4f204b44ee10cc8f87a2e1238
tree7db48b65b32f900b595534d8f9ac86f33d3de99e
parent27013f18ea2115b60b9f5e115e99798f1258d90b
(bug 40889) Fix XHTML in Special:Upload form labels

We were using an improper method for adding labels to the form, namely
using something other than the ID (and in fact, a nonexistent ID) in the
'for' attribute. This patch uses the ID of the parent element and should
fix the issue.

Note: Upstream bug in Firefox prevents testing this patch in that browser.
Use Chromium, as the FF bug report says that it works there. See
https://bugzilla.mozilla.org/show_bug.cgi?id=701353 for more.

Change-Id: I19e06a3b94f67f364d129cbef4ecc232f108e82d
includes/specials/SpecialUpload.php