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

--- Comment #27 from Rainer Rillke @commons.wikimedia 
<[email protected]> ---
(In reply to comment #24)
Do you have software running that trick about your browser version (e.g.
claiming to be "Firefox 8" while actually being Firefox 20)?

(In reply to comment #12)
The CSS error happens if something is wrong with the $fileInputCtrl:
https://github.com/wikimedia/mediawiki-extensions-UploadWizard/blob/6b1ba63356be72188bf9fb95f6d165381ee8f9de/resources/mw.UploadWizardUploadInterface.js#L555
-- I guess that _this.$fileInputCtrl.width() returns NaN or similar.

I suggest only pushing things that really exist there:
https://github.com/wikimedia/mediawiki-extensions-UploadWizard/blob/6b1ba63356be72188bf9fb95f6d165381ee8f9de/resources/mw.UploadWizardUploadInterface.js#L299

That may resolve the issue. Patch for this follows.

While testing I found a bug with very similar symptoms if the read-permissions
are denied (but directory listing is allowed), an empty request is issued and
the result is null, consequently doing result.error at
https://github.com/wikimedia/mediawiki-extensions-UploadWizard/blob/6b1ba63356be72188bf9fb95f6d165381ee8f9de/resources/mw.UploadWizardUpload.js#L175

will trigger an error and the throbber spins forever.

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