Indonesia's main opposition party won the most votes in legislative elections Wednesday, unofficial tallies showed, boosting the chances of their presidential candidate, the Jakarta governor, becoming the country's next leader.