Original: Historically, in the warm Mediterranean and Middle Eastern climates, the courtyard served to accommodate the large number of worshippers during Friday prayers.
Simplified: In the warm Mediterranean and Middle Eastern climates, the courtyard served to hold the large number of worshippers during Friday prayers.