Dutch anti-Islam lawmaker Geert Wilders said on Sunday he had ended a contest for cartoons caricaturing the Prophet Mohammad, only hours after announcing the contentious event.