Text this: Foreign intervention, warfare and civil wars