Description
Due to a breaking change in the MediaWiki API ( T280806 ) Java-based upload and downloadtools are not working any more, such as
What happens?:
action=query&prop=info&intoken
java.util.zip.ZipException: Not in GZIP format at java.util.zip.GZIPInputStream.readHeader(Unknown Source) at java.util.zip.GZIPInputStream.<init>(Unknown Source) at java.util.zip.GZIPInputStream.<init>(Unknown Source) at wiki.Wiki.fetch(Unknown Source) at wiki.Wiki.getImage(Unknown Source) at wiki.Wiki.getImage(Unknown Source) at app.ImkerBase$1.fetch(Unknown Source) at app.App.attemptFetch(Unknown Source) at app.App.attemptFetch(Unknown Source) at app.App.attemptFetch(Unknown Source) at app.ImkerBase.downloadLoop(Unknown Source) at app.ImkerGUI$4.doInBackground(Unknown Source) at app.ImkerGUI$4.doInBackground(Unknown Source) at javax.swing.SwingWorker$1.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at javax.swing.SwingWorker.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
What should happen?:
- Users should know that the Java-based upload and downloadtools are outdated and not supported by MediaWiki
- This bug-report might be used as a meta-disscussion related to the changes of T280806
- Users/Developers should be engaged to bugfix themself and to arrange croud-fundings
Solution
- VicuñaUploader fixed it in this Pull-Request for 1.25, which might help bugfixing.
See also
- https://commons.wikimedia.org/wiki/Commons:Forum/Archiv/2021/October#Anmeldeproblem
- https://commons.wikimedia.org/wiki/Commons:Forum/Archiv/2021/October#Problem_beim_Hochladen_mit_Commonist
- https://commons.wikimedia.org/wiki/Commons_talk:Commonist
- https://commons.wikimedia.org/wiki/Commons:Forum/Archiv/2021/December#Vicunja_Hilfe
- https://commons.wikimedia.org/wiki/Commons_talk:Imker_(batch_download)
Reported downstream