Islamist insurgents have staged a lengthy series of attacks in Yala and two other Muslim-majority provinces in southern Thailand , Narathiwat and Pattani , since January 2004 .