A Niger court banned a nationwide strike intended to start on Thursday to oppose President Mamadou Tandja’s plans to extend his stay in office.