Last modified: 2014-10-08 14:42:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T73689, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71689 - Special:Upload uses duplicate IDs
Special:Upload uses duplicate IDs
Status: RESOLVED DUPLICATE of bug 40889
Product: MediaWiki
Classification: Unclassified
Uploading (Other open bugs)
1.22.12
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-06 00:54 UTC by Subfader
Modified: 2014-10-08 14:42 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Subfader 2014-10-06 00:54:20 UTC
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.
Comment 1 Subfader 2014-10-06 00:55:17 UTC
* used to (as of MW 1.16)
Comment 2 Patrick Westerhoff 2014-10-08 14:42:00 UTC
Already fixed. https://gerrit.wikimedia.org/r/#/c/88443/

*** This bug has been marked as a duplicate of bug 40889 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links