Run iPhone with network off, wifi on
When you turn on Airplane Mode, Wifi is going to indicate Off. All you have to do is tap on Wi-Fi and turn on Wi-Fi. That should enable Wi-Fi while the phone is on Airplane Mode.