An Indonesian court on Thursday sentenced an Islamist militant to 10 years in prison for…