If you are using Redmine be sure to use v0.9.0 RC or higher.
From the changelog:
Ask user what to do with child pages when deleting a parent wiki page
Before it just asked if you wanted to delete the (parent) page or not and then deleted all child pages as well without asking or notifying you about it. (Who writes such code?!)
Update: Files attached to the wiki pages were also deleted.