The deliberate targeting of civilians in the 1940s was an act of desperation, and should not be used to justify total war in Gaza or elsewhere. It’s more than a little alarming to see politicians calling for something that will turn Israel into a pariah state.
I doubt Israel is waging total war on Gaza. It's just that the Muslim terrorist types (in this case, Hamas) seem to routinely site their offensive equipment in schools, hospitals, etc. and in this instance burrow beneath such civilian sites likely to cause outcry when the underlying forces and facilities are destroyed. Hamas is not the first to use human shields (even their own people) to try to deflect offensive operations directed toward the combatants. The Chinese troops in Korea marched entire village populations ahead of their wave attacks on US positions. No doubt, they were neither the first, nor certainly, will be the last to do so.
If Gaza wants fewer civilian casualties, they need to get out of the way.
If the civilians are there of their own volition, they are screens for the combatants and are not innocents.
War is Hell, especially for the civilian population in contested areas. This is no exception. That said, I seriously doubt no one saw anything, no one heard anything...we just know no one said anything. As such, that population is part of the picture.
The same logic was used to conventionally bomb much of Europe to ruins, and to firebomb most of the cities in Japan to ashes.
How much evil does it take to justify some 'collateral damage'?
How bad does your enemy have to be before you can risk killing civilians to get the enemy?