Wikipedia talk:File Upload Wizard

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Edit requests on 27 September 2021[edit]

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)

Edit request; 9 October 2021[edit]

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)

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

Recognize mp3 as accepted format[edit]

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)

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

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)

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

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)

 DoneJonesey95 (talk) 23:30, 8 November 2021 (UTC)

Interface-protected edit request on 29 October 2021[edit]

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)

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

"You do not have JavaScript enabled"[edit]

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)

@Xaosflux: since you were the last person to edit. ‑‑Neveselbert (talk · contribs · email) 19:40, 6 November 2021 (UTC)
@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)
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)
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)
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)
@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)
@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)
@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)
If it's freezing, the likely explanation is that an error occurred in the javascript code, which prevents the rest of the code from running. @Neveselbert Please follow the steps at WP:JSERROR and let us know exactly what buttons are you pressing, and what errors can be seen in the browser console. – SD0001 (talk) 14:36, 9 November 2021 (UTC)
It's working now, I think this was my mistake, sorry. I deleted the file after dropping it but before uploading it to Wikipedia, which may have indeed caused the problem I've had. Thanks all, I'm sorry for any inconvenience. ‑‑Neveselbert (talk · contribs · email) 18:23, 9 November 2021 (UTC)
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)