Have fixed my wordpress after somebody deleted all the public writable files on the (shared) server. Was impressed by how easy it was to fix - just unpacked a new version of wordpress and ran the upgrade script.

Thanks Dan for pointing out that it wasn't working.

BTW, Merry Christmas everyone!