Page MenuHomePhabricator

Java-Tools (Commonist,Imker) not working any more
Closed, DuplicatePublicBUG REPORT

Description

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

bash
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

See also

Reported downstream