Ionic liquid-enhanced photooxidation of water using the polyoxometalate anion [P2W18O62](6-) as the sensitizer.