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

            Bug ID: 71689
           Summary: Special:Uplaod uses duplicate IDs
           Product: MediaWiki
           Version: 1.22.12
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: Uploading
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

The radio button and inputs for file and URL upload have the same IDs.

<table id="mw-htmlform-source">
    <tbody>
        <tr class="mw-htmlform-field-UploadSourceField">
            <td class="mw-label">
                <label for="wpUploadFile">Source file:</label>
                <input name="wpSourceType" type="radio" id="wpUploadFile"
value="File" checked="">
            </td>
            <td class="mw-input">
                <input id="wpUploadFile" name="wpUploadFile" size="60"
type="file">
            </td>
        </tr>
        <tr class="mw-htmlform-field-UploadSourceField">
            <td class="mw-label">
                <label for="wpUploadFileURL">Source URL:</label>
                <input name="wpSourceType" type="radio" id="wpUploadFileURL"
value="url">
            </td>
            <td class="mw-input">
                <input id="wpUploadFileURL" name="wpUploadFileURL" size="60">
            </td>
        </tr>
    </tbody>
</table>

Not sure if this intended but the radios uses to have the ids wpSourceTypeurl
and wpSourceTypeFile.

-- 
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