Page MenuHomePhabricator

File [mwe-upwiz-queued] shown above "Remove" button
Closed, ResolvedPublic

Description

While testing bug 36587: upload seems stuck for a while at "3 seconds left", above the "remove" button I see [mwe-upwiz-queued].
This is the name of a system message ("Queued..." ie "Status message once upload is done and queued on the server"), but the square brackets are strange; the message exists on the wiki and I'm using English interface.
It got replaced by a success message before I could take a screenshot.

By the way in the end the upload failed, with "An unknown error occurred" after I submitted the metadata, with "describe" tab.


Version: master
Severity: minor
URL: https://commons.wikimedia.org/wiki/MediaWiki:Mwe-upwiz-queued

Details

Reference
bz43746

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 1:28 AM
bzimport added a project: UploadWizard.
bzimport set Reference to bz43746.
bzimport added a subscriber: Unknown Object (MLST).

I could find this message only in the i18n file :(

jgerber wrote:

its a bit tricky to find the message in the code since the key is dynamically created. the this happens in resources/mw.UploadWizardDetails.js:

_this.upload.ui.setStatus( 'mwe-upwiz-' + result.upload.stage );

the linked patch makes sure the message gets loaded. possible stages are defined by whatever core sends. those where added recently while making those parts of the upload process async, due to some unrelated issue discussed in bug bug 36587 they are not active right now, but should soon be used again soon.