Turkish media report police have detained nearly 30 people suspected of links to the al-Qaida terror network .