Wikipedia talk:File upload wizard

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Dylsss (talk | contribs) at 23:11, 8 November 2021 (→‎"You do not have JavaScript enabled": cmt). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Edit requests on 27 September 2021

Please make the changes here and here. This adds a notice if you do not have javascript enabled. Thanks. Dylsss(talk contribs) 00:13, 27 September 2021 (UTC)[reply]

Edit request; 9 October 2021

This is a '''historic portrait''' of a person no longer alive.<br/>This is a historic photograph or other depiction of a person who is no longer alive. It will be used as the primary means of visual identification of that person in the article about them.

Please change the two uses of "historic" to "historical". Please see Merriam-Webster's explanation on the distinction. Thank you, Sdrqaz (talk) 20:27, 9 October 2021 (UTC)[reply]

 Done --Ahecht (TALK
PAGE
) 20:38, 12 October 2021 (UTC)[reply]

Recognize mp3 as accepted format

I discussed the Wizard not recognizing mp3 as an accepted format (#mp3 not accepted by Wizard?). Then I was told that, to make Wizard recognize mp3, whose patent has expired a few or several years ago, I must add audio/mp3 as part of filebox.accept (line 108 of MediaWiki:FileUploadWizard.js). Now here I am requesting the addition/change to the Wizard. George Ho (talk) 18:57, 28 October 2021 (UTC)[reply]

 Done try now @George Ho:xaosflux Talk 19:11, 28 October 2021 (UTC)[reply]

Thanks. But the Wizard doesn't automatically add ".mp3" after titling a file without adding extension. I figured that mp3 must be also added in name.replace (line 1819) and var extensions (line 1852). --George Ho (talk) 19:36, 28 October 2021 (UTC)[reply]

 Done added. — xaosflux Talk 14:25, 1 November 2021 (UTC)[reply]

Thanks again. What about adding "mp3" among the list of "Permitted file types", like mid and ogg, in the source of Wikipedia:File Upload Wizard? --George Ho (talk) 22:56, 8 November 2021 (UTC)[reply]

Interface-protected edit request on 29 October 2021

Remove lines 19–22 ("loading the accompanying CSS"). This is better done using withCSS (as I've done in Special:Diff/1052460258) to remove delay between loading of the JS and CSS. Now they're getting loaded twice.

I am assuming Wikipedia:File Upload Wizard is the only place where the script is being used. – SD0001 (talk) 08:05, 29 October 2021 (UTC)[reply]

 Donexaosflux Talk 14:29, 1 November 2021 (UTC)[reply]

"You do not have JavaScript enabled"

I'm unable to use this script as I'm told that I don't have JS enabled, despise the fact that I have got it enabled. Can someone please have a look at this? ‑‑Neveselbert (talk · contribs · email) 19:39, 6 November 2021 (UTC)[reply]

@Xaosflux: since you were the last person to edit. ‑‑Neveselbert (talk · contribs · email) 19:40, 6 November 2021 (UTC)[reply]
@Neveselbert: is this a new problem? Are you trying to upload a free file or a non-free file? Check your browser to see if you have any script blocking extensions (such as AdBlock or NoScript) that may be interfering. — xaosflux Talk 22:25, 6 November 2021 (UTC)[reply]
It appears to be a new problem, yes, ever since the JavaScript message was added. I'm trying to upload a non-free file on Chrome, and I've disabled most of my extensions including AdBlock. I've tried going incognito where none of my extensions are enabled, and I'm having the same problem. ‑‑Neveselbert (talk · contribs · email) 00:11, 7 November 2021 (UTC)[reply]
I can also see the "You do not have JavaScript enabled" message even though the buttons are clickable and files can be uploaded. – SD0001 (talk) 04:45, 7 November 2021 (UTC)[reply]
Till now it appears the message was always being shown to everyone (unless I'm missing something). I edited the page in Special:Diff/1053959909 to put it within {{noscript}}. @Neveselbert Can you check if you're still facing any issue? – SD0001 (talk) 04:48, 7 November 2021 (UTC)[reply]
@SD0001: I've checked, and I'm still stuck on the "Upload in process" page. The only difference now is that I no longer see the message. ‑‑Neveselbert (talk · contribs · email) 21:57, 8 November 2021 (UTC)[reply]
@Xaosflux: can you possibly rollback the edit request you implemented? I'm still unable to upload without the "Upload in process" page freezing. ‑‑Neveselbert (talk · contribs · email) 22:02, 8 November 2021 (UTC)[reply]
@Neveselbert: what type of file are you trying to upload? One of these recent changes was specific to mp3, the other should have only removed extra CSS. We certainly can rollback changes, just trying to target it as best as possible. — xaosflux Talk 22:53, 8 November 2021 (UTC)[reply]
Sorry about that, the style rule was working, but the CSS was only being loaded when the button was clicked, which I failed to realise. The templatestyles implementation at {{noscript}} is much better. I am not sure how the addition of this message could have any affect on the ability to upload files though, as appears to be the case above? The wizard is clearly working. Dylsss(talk contribs) 23:11, 8 November 2021 (UTC)[reply]