Page MenuHomePhabricator

UploadWizard doesn't allow to copy descriptions to other medias
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • I am uploading different medias through UploadWizard
  • I want to copy the description of first media to other medias, since they share it

What happens?:
UploadWizard prevents me to copy the description of the first media to other medias.

What should have happened instead?:
UploadWizars would have allowed me to copy the description.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Wikimedia Commons

Other information (browser name/version, screenshots, etc.):
Reformulated from this discussion

Event Timeline

The upload wizard doesn't realize that it should untick the "Same as caption" option to copy the field. Super annoying, especially now that it requires a caption, when it didn't before.

Change #1032711 had a related patch set uploaded (by Matthias Mullie; author: Matthias Mullie):

[mediawiki/extensions/UploadWizard@master] Remove complicated synchronization of caption/description inputs

https://gerrit.wikimedia.org/r/1032711

Change #1032711 merged by jenkins-bot:

[mediawiki/extensions/UploadWizard@master] Remove complicated synchronization of caption/description inputs

https://gerrit.wikimedia.org/r/1032711

Change #1032824 had a related patch set uploaded (by Matthias Mullie; author: Matthias Mullie):

[mediawiki/extensions/UploadWizard@wmf/1.43.0-wmf.5] Remove complicated synchronization of caption/description inputs

https://gerrit.wikimedia.org/r/1032824

Checked on commons beta - single upload/multiple upload (and I've read the original discussion on Commons:Upload_Wizard_feedback#Issues_on_the_new_version).
The workflow that might cause some confusion
Steps:

  • Special:UploadWizard - add a single file
  • Properly fill in all required fields in Release rights fields
  • In the Describe step - the "Same as caption" checkbox is checked
  • Now, I'm filling in the Description field first, before the Caption field. i.e. click on the "Same as caption" checkbox to un-check it, so the description field is displayed.
  • Then I change my mind and click on the "Same as caption" checkbox to make it checked and enter some text in the Caption field

If after that I want to make sure that the "Same as caption" checkbox does its job and filled the Description field with the same text as in the Caption field, I have no way to confirm it, since the Description field is collapsed when the "Same as caption" checkbox is checked. If I un-check the "Same as caption" checkbox - I will see my previously entered text.

It'd be useful to have the Description field be available to preview at any point of workflow ( i.e. the case with the same text as the Caption field).

Works as expected in commons beta.

Note:

  • in a multiple files upload make sure that "Copy information to all uploads following..." options will copy Description of the first file to other files in the upload.

Change #1032824 merged by jenkins-bot:

[mediawiki/extensions/UploadWizard@wmf/1.43.0-wmf.5] Remove complicated synchronization of caption/description inputs

https://gerrit.wikimedia.org/r/1032824

Mentioned in SAL (#wikimedia-operations) [2024-05-21T08:04:47Z] <mlitn@deploy1002> Started scap: Backport for [[gerrit:1032824|Remove complicated synchronization of caption/description inputs (T365119)]]

Mentioned in SAL (#wikimedia-operations) [2024-05-21T08:07:25Z] <mlitn@deploy1002> mlitn: Backport for [[gerrit:1032824|Remove complicated synchronization of caption/description inputs (T365119)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2024-05-21T08:22:27Z] <mlitn@deploy1002> Finished scap: Backport for [[gerrit:1032824|Remove complicated synchronization of caption/description inputs (T365119)]] (duration: 17m 40s)

Checked on commons wmf.6 - the issue is fixed.