TEHRAN, YJC.-- A Pakistani anti-terrorism court on Saturday extended by two weeks the detention of the former military ruler Pervez Musharraf, ensuring that the legal wrangling surrounding the retired general will continue in the runup to landmark elections on May 11.