When wikileaks was launched, I thought that Assange was such an idiot that it would never get off the ground. How wrong I was.
Note that Wikileaks did try to redact the material they got. So eventhough they messed it up, they tried to do the right thing.
Wikileaks was supposed to be a platform for leakers. To get their material out. Wikileaks is not supposed to be balanced publication that tries to compile some sort of truth.
So in that sense, given the original goal of wikileaks, they just had to publish those documents during the US elections. It would be different if there was evidence that they got documents damaging to Trump and refused to publish them.
So, Assange is an idiot and best not invited to parties. Wikileaks is probably a bad idea. But none of that warrents a complete abuse of the legal system by Sweden. And also a complete violation of basic european human rights by the UK.