Translations:Manual:CompressOld.php/30/en

This will concatenate and compress all revisions (except the current page revisions), which have been created before January 1st 2015.