MediaWiki talk:Gadget-UploadPreview.js

Broken
This gadget's been broken for a while now. Definitely since the fork, at least.

This edit set the gadget preference to off-by-default until the issue is fixed. PhantomCaleb (talk) 01:01, 11 February 2023 (UTC)


 * This gadget should be fixed now (it worked for me when testing it at any rate). I explained it a bit in the edit summary here but, to go into more detail, this gadget was set up when the wiki used the custom Upload Fields extension. This created separate fields in the upload form for all of the parameters of Template:FileInfo and then automatically inserted the Template when uploading and this gadget replicated that after pulling the input from those fields. However, as we no longer use the extension, the fields are gone and  was returning null and creating an error because no element exists by that id anymore. So, I removed those lines and now the preview should just output whatever is in the file summary.  18:41, 5 July 2023 (UTC)


 * Thanks for looking into this! PhantomCaleb (talk) 20:16, 4 November 2023 (UTC)