Fix some (certainly not all) problems with wiki editing.