Since, if the phone got wet inside, you've already electrocuted it, try using a hair dryer or some other fairly strong source of airflow with no heat to blow out the USB port. After it appears completely dry, keep blowing it for another 5 minutes. Then plug in the charger and if it still says "wrong battery", quickly unplug the charger and start saving up for a new phone. (Unless this one is fairly new and it pays to repair it. At the very least it's going to need a new motherboard and a new softykey board.)