Israel announced a four-hour ceasefire in parts of Gaza Wednesday, but it kept up attacks in other Palestinian areas.