https://bugzilla.wikimedia.org/show_bug.cgi?id=40889

       Web browser: ---
             Bug #: 40889
           Summary: IDREF attribute for references an unknown ID
                    "wpSourceTypeFile"
           Product: MediaWiki
           Version: 1.19.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: Uploading
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


Special:Upload is invalid XHTML:

<tr class="mw-htmlform-field-UploadSourceField"><td class="mw-label"><label
for="wpSourceTypeFile">Source filename:</label></td><td class="mw-input"><input
id="wpUploadFile" name="wpUploadFile" size="60" type="file" />

The “for” attribute of the <label/> must reference an “id” of another tag, but
the tag in question is named “wpUploadFile”.

This is lines 840 (and probably 855) and 1118 of
mediawiki-1.19.2/includes/specials/SpecialUpload.php, but a quick diff shows
git master (6a2ae3244eb2b8ea9c7dcadb528caca08238913e as of today) seems to also
be affected.

I don’t know enough about the intricaties of this code to propose a fix, sorry.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to